The eventDoubleClickHandling property (string) specifies the default action for the onEventDoubleClick event in the monthly calendar.
DayPilot.Month.eventDoubleClickHandling"Enabled" - enables event double-click handling and fires DayPilot.Month.onEventDoubleClick before the default action, followed by DayPilot.Month.onEventDoubleClicked after it finishes.
"Disabled" - ignores event double clicks.
"PostBack" - handles the double click using PostBack (ASP.NET WebForms only).
"CallBack" - handles the double click using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"JavaScript" - uses the legacy client-side API and fires the legacy client-side double-click handler.
"Select" - selects the double-clicked event.
"Bubble" - shows the bubble configured using DayPilot.Month.bubble.
"Disabled"Use DayPilot.Month.onEventDoubleClick to intercept the double click before the default action is performed, and use DayPilot.Month.onEventDoubleClicked when you need to react after it finishes.
In legacy api=1 mode, the handling value defines the only action, and "JavaScript" uses the client-side callback pipeline.
JavaScript
const month = new DayPilot.Month("dp", {
eventDoubleClickHandling: "Select",
// ...
});
month.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
eventDoubleClickHandling: "Select",
// ...
};React
<DayPilotMonth
eventDoubleClickHandling="Select"
{/* ... */}
/>Vue
<DayPilotMonth
eventDoubleClickHandling="Select"
<!-- ... -->
/>DayPilot.Month.onEventDoubleClick