scroll_hour

sets the initial position of the vertical scroll in the scheduler (an hour in the 24-hour clock format)

number scroll_hour;

Example

//the scheduler will display the current day scrolled to the current time initially
scheduler.config.scroll_hour = new Date().getHours();
...
scheduler.init('scheduler_here', new Date(), "week");


Default value:

0 (i.e. the scheduler displays the hours scale from the midnight - 00:00)
Applicable views:Day View, Week View, Units View
Back to top