SchedulerScrollToProps

Specifies the configuration for automatically scrolling the Scheduler when the view is initialized or rendered.

Props

The following table outlines the props for the SchedulerScrollToProps:

NameTypeDefaultDescription
enable
boolean
true

Specifies whether automatic scrolling should occur when the view is rendered. By default, the Scheduler scrolls to the current time when available; otherwise, it scrolls to the work hour start Set enable to false to disable automatic scrolling.

mode
ScrollToMode.Auto

Specifies the scrolling strategy used to determine the target scroll position.

offset
number
10

Specifies a pixel value that is subtracted from the calculated scroll position. This value represents the exact amount reduced from the final scroll target. Accepts positive or negative values to fine tune the final scroll target.