DayPilot.Month.onEventRightClick

The onEventRightClick event is fired when a user clicks the monthly calendar event using right mouse button.

This event is fired before the default action specified using eventRightClickHandling property.

See also the onEventRightClicked event which is fired after the default action.

Declaration

DayPilot.Month.onEventRightClick(args);

Parameters

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

Example

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

api=1

Declaration

onEventRightClick(e)

Parameters