DayPilot.Scheduler.eventEditHandling

The eventEditHandling property (string) specifies the default action taken when inline event editing is submitted in the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.eventEditHandling

Possible Values

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

Default Value

"Disabled"

Notes

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.

Examples

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

See Also

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript