How to customize the default view when scheduler attached to layout cell

https://snippet.dhtmlx.com/2ojigjcn

I hope to have the default “day” view.
If the scheduler is initialized in html markups, it can be assigned in init() function,

scheduler.init('scheduler_here', 'day');

BUT, if the scheduler is attached to layout cell, there’s no init() function, how can it be realized?
Thx

https://docs.dhtmlx.com/scheduler/samples/10_integration/03_dhtmlxlayout.html

This official example describes it in detail. thx