DayPilot.Scheduler.eventDeleteHandling

The eventDeleteHandling property (string) enables the built-in event delete support and specifies the default delete action in the JavaScript Scheduler.

Declaration

DayPilot.Scheduler.eventDeleteHandling

Possible Values

  • "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.

Default Value

"Disabled"

Notes

Enable this property when you want to use the built-in delete workflow exposed by DayPilot.Scheduler.onEventDelete and DayPilot.Scheduler.onEventDeleted.

Examples

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"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.onEventDelete

DayPilot.Scheduler.onEventDeleted

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript