DayPilot.Calendar.afterRender

The afterRender event handler runs after the Calendar is rendered or refreshed in legacy api=1 mode.

Declaration

DayPilot.Calendar.afterRender(data, isCallBack)

Parameters

  • data (object) - custom data sent from the server using the Update() method

  • isCallBack (boolean) - true if this event is called after a CallBack and false if it is called during the initial page load or PostBack

Notes

This legacy callback runs after control initialization and after later server-side updates. Use the isCallBack flag to distinguish AJAX callback refreshes from the initial page load or a PostBack.

The data parameter carries custom data passed from the server during the update. In the current JavaScript API, use DayPilot.Calendar.onAfterRender.

See Also

AfterRender [doc.daypilot.org]

DayPilot.Calendar.onAfterRender

DayPilot.Calendar Class