The eventEditHandling property (string) specifies the default action taken when inline event editing is submitted in the JavaScript Scheduler component.
DayPilot.Scheduler.eventEditHandling"Disabled" - disables the built-in EventEdit handling.
"Update" - updates the edited event text on the client side after onEventEdit completes, and then fires onEventEdited.
"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 fires onEventEdit(e, newText).
"Disabled"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.
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"
<!-- ... -->
/>