The eventRightClickHandling property (string) specifies how the monthly calendar component handles right-clicking an event.
DayPilot.Month.eventRightClickHandling"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).
"ContextMenu"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.
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();Availability of this API item in DayPilot editions:
| Lite | Pro | |
|---|---|---|
| DayPilot for JavaScript |
Lite does not support: Bubble