The eventResizeCallBack() method executes the server-side EventResize handler using an AJAX callback (ASP.NET WebForms, ASP.NET MVC, Java).
Declaration
DayPilot.Month.eventResizeCallBack(e, newStart, newEnd[, data]);Parameters
e(DayPilot.Event) - object referencenewStart(DayPilot.Date) - new event startnewEnd(DayPilot.Date) - new event endnewResource(string) - new resource iddata(object) - custom data to be sent to the server-side event handler
Notes
Use this legacy helper to trigger the server-side EventResize handler from client-side code and send the updated time range in the callback request.
The newResource parameter lets you include the new resource id, and data lets you pass additional custom values to the server-side event handler.
Example
dp.eventResizeCallBack(e, newStart, newEnd, { reason: "resize" });See Also
DayPilot.Month.eventResizeHandling
DayPilot.Month.eventResizeNotify()
DayPilot