The eventClickHandling property (string) specifies the default action for the event click event in the JavaScript Scheduler.
DayPilot.Scheduler.eventClickHandling"Enabled" - event clicking is enabled and click events are fired with no additional default action.
"Disabled" - event clicking is disabled and no click events are fired.
"PostBack" - ASP.NET WebForms only.
"CallBack" - ASP.NET WebForms, ASP.NET MVC, and Java versions only. Pro only.
"JavaScript" - executes a custom client-side JavaScript handler.
"Edit" - starts inline event editing. Pro only.
"Select" - selects the clicked event. Pro only.
"ContextMenu" - opens the event context menu. Pro only.
"Bubble" - opens the event bubble. Pro only.
"Enabled"Use "Edit" to start inline event editing when the user clicks an event.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
eventClickHandling: "Edit",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
eventClickHandling: "Edit",
// ...
};React
<DayPilotScheduler
eventClickHandling="Edit"
{/* ... */}
/>Vue
<DayPilotScheduler
eventClickHandling="Edit"
<!-- ... -->
/>Event Click [doc.daypilot.org]
Inline Event Editing [doc.daypilot.org]
Availability of this API item in DayPilot editions:
| Lite | Pro | |
|---|---|---|
| DayPilot for JavaScript |
Lite does not support: Bubble, ContextMenu, Edit, Select