DayPilot.Queue.onEventClick

The onEventClick event handler is fired before the default event click action (defined using eventClickHandling property).

Declaration

DayPilot.Queue.onEventClick(args);

Parameters

Example

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