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 theUpdate()methodisCallBack(boolean) -trueif this event is called after a CallBack andfalseif 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