DayPilot.Scheduler.onEventDoubleClick

The onEventDoubleClick event handler is fired by the JavaScript Scheduler component for event double clicks (before the default action). By default, the double click is disabled - you can enable it using eventDoubleClickHandling property.

Declaration

DayPilot.Scheduler.onEventDoubleClick(args)

Parameters

  • args.e (DayPilot.Event) - the event reference

  • args.preventDefault() - cancels the default action

Example

Scheduler config:

onEventDoubleClick: (args) => {
  if (args.e.id() === 3) {
    args.preventDefault();
  }
}

api=1

Declaration

onEventDoubleClick(e)

Parameters