The eventClickHandling property (string) specifies the default action for the event click event in the JavaScript Scheduler.
Declaration
DayPilot.Scheduler.eventClickHandlingPossible Values
"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.
Default Value
"Enabled"Notes
Use "Edit" to start inline event editing when the user clicks an event.
Examples
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"
<!-- ... -->
/>See Also
Event Click [doc.daypilot.org]
Inline Event Editing [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
Lite does not support: Bubble, ContextMenu, Edit, Select
DayPilot