JavaScript Calendar Component AutoScroll during Drag and Drop

The JavaScript Calendar component can scroll the grid automatically (vertically and horizontally) when you reach the edges of the visible area. You can configure the feature using the autoScroll property.

By default, AutoScroll is turned on during drag and drop operations (event moving, event resizing, time range selecting).


<div id="dp"></div>
  const dp = new DayPilot.Calendar("dp", }
    autoScroll: "Always",
    // ...