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.

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.

scroll
-

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