DayPilot.Month.eventRightClickHandling

The eventRightClickHandling property (string) specifies how the monthly calendar component handles right-clicking an event.

Declaration

DayPilot.Month.eventRightClickHandling

Possible Values

  • "Enabled" - enables the right-click event pipeline without assigning a built-in UI action.

  • "Disabled" - disables built-in event right-click handling.

  • "ContextMenu" - shows the standard event context menu.

  • "Bubble" - shows the event bubble (Pro only).

  • "CallBack" - delegates the right-click action to callback handling (Pro only; ASP.NET WebForms, ASP.NET MVC, and Java versions only).

  • "PostBack" - delegates the right-click action using PostBack (ASP.NET WebForms only).

Default Value

"ContextMenu"

Notes

The default "ContextMenu" value opens the event context menu when the user right-clicks an event.

Use "Enabled" when you need the right-click event pipeline without an automatic UI action.

Examples

JavaScript

const bubble = new DayPilot.Bubble();
const month = new DayPilot.Month("dp", {
  bubble,
  eventRightClickHandling: "Bubble",
  // ...
});
month.init();

Angular

<daypilot-month [config]="config"></daypilot-month>
config: DayPilot.MonthConfig = {
  bubble: new DayPilot.Bubble(),
  eventRightClickHandling: "Bubble",
  // ...
};

React

<DayPilotMonth
  bubble={bubble}
  eventRightClickHandling="Bubble"
  {/* ... */}
/>
const bubble = new DayPilot.Bubble();

Vue

<DayPilotMonth
  :bubble="bubble"
  eventRightClickHandling="Bubble"
  <!-- ... -->
/>
const bubble = new DayPilot.Bubble();

See Also

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript

Lite does not support: Bubble