The eventDeleteHandling property (string) enables the built-in event delete support and specifies the default delete action in the JavaScript Scheduler.
DayPilot.Scheduler.eventDeleteHandling"Disabled" - disables the built-in event delete support.
"PostBack" - delegates the delete action using PostBack (ASP.NET WebForms only).
"CallBack" - delegates the delete action using CallBack (ASP.NET WebForms ASP.NET MVC and Java versions only).
"Update" - enables the built-in delete workflow and performs the client-side update action.
"Disabled"Enable this property when you want to use the built-in delete workflow exposed by DayPilot.Scheduler.onEventDelete and DayPilot.Scheduler.onEventDeleted.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
eventDeleteHandling: "Update",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
eventDeleteHandling: "Update",
// ...
};React
<DayPilotScheduler
eventDeleteHandling="Update"
{/* ... */}
/>Vue
<DayPilotScheduler
eventDeleteHandling="Update"
<!-- ... -->
/>DayPilot.Scheduler.onEventDelete