Skip to main content

scroll_hour

Description

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

scroll_hour: number

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

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.