The eventEditHandling property (string) sets the default action that is performed when inline event editing is finished in the JavaScript Calendar component.
Declaration
DayPilot.Calendar.eventEditHandlingPossible Values
"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).
Default Value
"Update"Notes
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.
Examples
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"
<!-- ... -->
/>See Also
Inline Event Editing [doc.daypilot.org]
Event Active Areas [doc.daypilot.org]
DayPilot.Calendar.onEventEdited
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot