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

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?

This official example describes it in detail. thx