DayPilot.Scheduler.eventEditCallBack

The eventEditCallBack() method invokes the server-side EventEdit handler using an AJAX CallBack.

This only applies to ASP.NET WebForms, ASP.NET MVC and Java versions.

Declaration

DayPilot.Scheduler.eventEditCallBack(e, newText, data)

Parameters

  • e (DayPilot.Event) - object reference

  • newText (string) - new event text

  • data (object) - additional custom data

Notes

This is a legacy server-side API used when inline event editing is submitted using CallBack.

In client-side Scheduler integrations, configure DayPilot.Scheduler.eventEditHandling and handle DayPilot.Scheduler.onEventEdit or DayPilot.Scheduler.onEventEdited instead.

Example

dp.eventEditCallBack(e, "Updated text", { source: "inline-editor" });

See Also

Sending Custom Data with CallBack

DayPilot.Scheduler.eventEditHandling

DayPilot.Scheduler.onEventEdit

DayPilot.Scheduler.onEventEdited

DayPilot.Scheduler Class