DayPilot.Calendar.autoScroll

The autoScroll property (string) defines the auto-scroll mode for the JavaScript Calendar component. When the auto-scroll mode is enabled, the Calendar automatically scrolls when the mouse reaches the edges of the Calendar viewport.

Available since 2021.2.4997.

Default Value

"Drag"

Possible Values

  • "Disabled" - AutoScroll is disabled.

  • "Always" - The Calendar grid automatically scrolls when the mouse reaches the edge of the viewport.

  • "Drag" (default) - The Calendar grid automatically scrolls when the mouse reaches the edge of the viewport during drag-and-drop operations such as event moving, event resizing, or time range selecting.