The autoScroll property (string) defines the auto-scroll mode for the JavaScript Scheduler component. When auto-scroll mode is enabled, the Scheduler automatically scrolls when the mouse reaches the edges of the Scheduler viewport.
DayPilot.Scheduler.autoScroll"Disabled" - auto-scroll is disabled
"Always" - the Scheduler grid automatically scrolls when the mouse reaches the edge of the viewport
"Drag" (default) - the Scheduler 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
"Drag"JavaScript
const dp = new DayPilot.Scheduler("dp", {
autoScroll: "Always",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
autoScroll: "Always",
// ...
};React
<DayPilotScheduler
autoScroll="Always"
{/* ... */}
/>Vue
<DayPilotScheduler
autoScroll="Always"
<!-- ... -->
/>Auto-Scroll [doc.daypilot.org]