The eventDoubleClickHandling property (string) specifies how event double clicks are handled in the JavaScript Scheduler.
Declaration
DayPilot.Scheduler.eventDoubleClickHandlingPossible Values
"Disabled"- event double clicking is disabled."Enabled"- event double clicking is enabled but no default action is performed. Use onEventDoubleClick and/or onEventDoubleClicked."PostBack"- invokesEventDoubleClickon the server side using PostBack(ASP.NET WebForms only)."CallBack"- invokesEventDoubleClickon the server side using CallBack(ASP.NET WebForms ASP.NET MVC and Java versions only)."JavaScript"- invokesEventDoubleClickJavaScripton the client side(ASP.NET WebForms and ASP.NET MVC)."Edit"- enters inline editing."Select"- selects the event."ContextMenu"- activates the event context menu."Bubble"- activates the bubble.
Default Value
"Disabled"Notes
Set this property to "Enabled" when you want to handle event double clicks in DayPilot.Scheduler.onEventDoubleClick or DayPilot.Scheduler.onEventDoubleClicked without a built-in default action.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
eventDoubleClickHandling: "Enabled",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
eventDoubleClickHandling: "Enabled",
// ...
};React
<DayPilotScheduler
eventDoubleClickHandling="Enabled"
{/* ... */}
/>Vue
<DayPilotScheduler
eventDoubleClickHandling="Enabled"
<!-- ... -->
/>See Also
DayPilot.Scheduler.onEventDoubleClick
DayPilot.Scheduler.onEventDoubleClicked
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot