DayPilot.Month.eventResizeCallBack

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 reference

  • newStart (DayPilot.Date) - new event start

  • newEnd (DayPilot.Date) - new event end

  • newResource (string) - new resource id

  • data (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.Month.eventResizePostBack()

DayPilot.Month Class