The eventDoubleClickHandling property (string) specifies the default action for the DayPilot.Calendar.onEventDoubleClick event in the JavaScript Calendar component.
DayPilot.Calendar.eventDoubleClickHandling"Enabled" - enables the built-in double-click pipeline and fires DayPilot.Calendar.onEventDoubleClick.
"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 onEventDoubleClick().
"Edit" - starts inline event editing.
"Select" - selects the double-clicked event.
"Bubble" - shows the bubble configured using DayPilot.Calendar.bubble.
"Disabled"Use DayPilot.Calendar.onEventDoubleClick to intercept the double click before the default action is performed, and use DayPilot.Calendar.onEventDoubleClicked to react after it finishes.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
eventDoubleClickHandling: "Edit",
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
eventDoubleClickHandling: "Edit",
// ...
};React
<DayPilotCalendar
eventDoubleClickHandling="Edit"
{/* ... */}
/>Vue
<DayPilotCalendar
eventDoubleClickHandling="Edit"
<!-- ... -->
/>Event Customization [doc.daypilot.org]
Event Bubble [doc.daypilot.org]
DayPilot.Calendar.onEventDoubleClick