DragEventArgs

23 Sep 20251 minute to read

An interface that holds options to control drag action on appointments.

Properties

cancel boolean

Defines the cancel option.

data Record

Returns the dragged event data.

dragWithinRange boolean

Allows to drag the events outside the currently rendered date range

element HTMLElement

Returns the drag element.

endTime Date

Returns the end time of the clone element.

event MouseEvent

Returns the mouse event.

excludeSelectors string

Defines the selectors to cancel the drop on selector target.

groupIndex number

Returns the group index of the clone element.

interval number

Allows to define the interval in minutes for dragging the appointments.

name string

Specifies name of the event.

Defines the date range navigation action while dragging.

scroll ScrollOptions

Allows to define the scroll related actions while dragging to the edges of scheduler.

selectedData Record[]

Returns the multiple dragged events data

startTime Date

Returns the start time of the clone element.

target HTMLElement

Returns the target element on which the event is dropped.