EventDragProps

Provides granular configuration for the Scheduler event drag-and-drop behavior. Enables fine-tuned control over event movement, including snapping intervals, scroll behavior, auto-navigation to adjacent date ranges, and external drag-and-drop capabilities.

Props

The following table outlines the props for the EventDragProps:

NameTypeDefaultDescription
enable
boolean
true

Enables or disables the ability to drag events throughout the scheduler. When disabled, events remain stationary but remain interactive for other operations. When omitted from an eventDrag object, dragging is enabled.

excludeSelectors
string
''

Comma-separated CSS selectors matching elements that should not accept dropped events. Example: '.read-only-cell, .blocked-time' prevents dropping onto read-only or blocked cells.

interval
number
Derived from timeScale configuration

Specifies the snapping interval in minutes for drag operations (e.g., 15 for 15-minute increments). When not specified, defaults to (timeScale interval / slotCount) or 30 minutes for optimal alignment.

navigation
-

Configures automatic navigation to previous/next date ranges when the user holds the pointer at extreme edges during dragging. Enables seamless dragging across weeks or months.

resourceMovable
boolean
true

Allows a user move to change an event's resource assignment (timeline resource rows and grouped resource columns). When false, a move keeps the event's resources and may only change its time.

scroll
-

Configures auto-scroll behavior when dragging events near the scheduler viewport edges. Ensures users can drag events beyond the currently visible time range.

timeMovable
boolean
true

Allows a user move to change an event's start and end time, including moving it between the all-day row and time slots. When false, a move keeps the event's time and may only change its resource. When both timeMovable and resourceMovable are false, events cannot be moved (resizing is not affected).