The eventEditHandling property (string) specifies the default action taken when inline event editing is submitted in the JavaScript Scheduler component.
Declaration
DayPilot.Scheduler.eventEditHandlingPossible Values
"Disabled"- disables the built-in EventEdit handling."Update"- updates the edited event text on the client side afteronEventEditcompletes, and then firesonEventEdited."PostBack"- submits the inline edit using PostBack(ASP.NET WebForms only)."CallBack"- submits the inline edit using CallBack(ASP.NET WebForms, ASP.NET MVC, and Java versions only)."JavaScript"- uses the legacy client-side API and firesonEventEdit(e, newText).
Default Value
"Disabled"Notes
The EventEdit event is fired when the user submits changes made during inline event editing.
Use onEventEdit to inspect or cancel the submitted text before the default action is performed, and onEventEdited after the updated value is confirmed.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
eventEditHandling: "CallBack",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
eventEditHandling: "CallBack",
// ...
};React
<DayPilotScheduler
eventEditHandling="CallBack"
{/* ... */}
/>Vue
<DayPilotScheduler
eventEditHandling="CallBack"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot