DayPilot.Calendar.eventResizeCallBack

The eventResizeCallBack() method executes the server-side EventResize handler using an AJAX callback.

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

Declaration

DayPilot.Calendar.eventResizeCallBack(e, newStart, newEnd, data)

Parameters

  • e (DayPilot.Event) - target event object

  • 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 resize pipeline from client-side code and pass the updated time range, resource information, and any custom data with the callback request.

Example

dp.eventResizeCallBack(e, newStart, newEnd, data);

See Also

DayPilot.Calendar Class