SchedulerCellClickEvent

Event arguments provided when a scheduler cell is clicked or tapped on mobile devices. Contains the cell's time range, all-day status, and interaction details for custom event handling and validation. Enables developers to implement custom cell selection logic or prevent default cell click behaviors.

Props

The following table outlines the props for the SchedulerCellClickEvent:

NameTypeDefaultDescription
cancel
boolean
-

Set to true to cancel the default cell click behavior (e.g., preventing auto-opening event creation dialogs). Allows custom handling of cell clicks without triggering default actions.

element
HTMLElement
-

The DOM element that was clicked, enabling direct manipulation or style inspection if needed. Useful for custom styling or finding parent elements.

endTime
Date
-

The end time of the clicked time slot or date cell. Represents the end of the time range for the selected cell.

isAllDay
boolean
-

Indicates whether the clicked cell belongs to the all-day row (true) or a timed slot (false). Useful for determining the type of cell and applying appropriate event creation logic.

nativeEvent
MouseEvent
-

The native browser MouseEvent triggered by the cell interaction. Provides access to event properties like button, coordinates, and modifier keys.

startTime
Date
-

The start time of the clicked time slot or date cell. Represents the beginning of the time range for the selected cell.