DayPilot.Scheduler.onEventDoubleClick

The onEventDoubleClick event handler is fired for event double clicks (before the default action). By default, the double click is disabled - it can be enabled using eventDoubleClickHandling property.

Declaration

onEventDoubleClick(args)

Parameters

  • args.e (DayPilot.Event) - the event reference
  • args.preventDefault() - cancels the default action

Example

dp.onEventDoubleClick = function(args) {
  if (args.e.id() === "3") {
    args.preventDefault();
  }
};

api=1

Declaration

onEventDoubleClick(e)

Parameters