The eventDoubleClickHandling property (string) specifies the default action for the DayPilot.Calendar.onEventDoubleClick event in the JavaScript Calendar component.
Declaration
DayPilot.Calendar.eventDoubleClickHandlingPossible Values
"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 firesonEventDoubleClick()."Edit"- starts inline event editing."Select"- selects the double-clicked event."Bubble"- shows the bubble configured using DayPilot.Calendar.bubble.
Default Value
"Disabled"Notes
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.
Examples
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"
<!-- ... -->
/>See Also
Event Customization [doc.daypilot.org]
Event Bubble [doc.daypilot.org]
DayPilot.Calendar.onEventDoubleClick
DayPilot.Calendar.onEventDoubleClicked
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot