The eventEditHandling property (string) sets the default action that is performed when inline event editing is finished in the JavaScript Calendar component.
DayPilot.Calendar.eventEditHandling"Update" - applies the edited text on the client side after DayPilot.Calendar.onEventEdit completes and then fires DayPilot.Calendar.onEventEdited.
"CallBack" - submits the inline edit using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"PostBack" - submits the inline edit using PostBack (ASP.NET WebForms only).
"Update"Use DayPilot.Calendar.onEventEdit to inspect or cancel the submitted text before the default action is performed, and use DayPilot.Calendar.onEventEdited after the change is applied.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
eventEditHandling: "Update",
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
eventEditHandling: "Update",
// ...
};React
<DayPilotCalendar
eventEditHandling="Update"
{/* ... */}
/>Vue
<DayPilotCalendar
eventEditHandling="Update"
<!-- ... -->
/>Inline Event Editing [doc.daypilot.org]
Event Active Areas [doc.daypilot.org]