跳转到主要内容

scroll_hour

Description

定义调度器中垂直滚动位置的起始点,基于24小时制的小时数。

scroll_hour: number

Example

// 调度器初始化时显示当前日期,并滚动到当前小时
scheduler.config.scroll_hour = new Date().getHours();
...
scheduler.init('scheduler_here', new Date(), "week");

Default value: 0(表示调度器从午夜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.