The afterEventRender event handler runs after an event has been rendered in legacy api=1 mode and gives you access to the event <div> element.
Declaration
DayPilot.Calendar.afterEventRender(e, div)Parameters
e(DayPilot.Event) - the event referencediv(object) - reference to the event<div>element
Notes
This legacy callback runs after the event element has been inserted into the Calendar. Use it for post-render DOM adjustments or attaching client-side behavior to the rendered element.
If you need to modify the rendered event HTML before display, use DayPilot.Calendar.onBeforeEventRender instead. In the current JavaScript API, use DayPilot.Calendar.onAfterEventRender.
See Also
Event Active Areas [doc.daypilot.org]
DayPilot.Calendar.onAfterEventRender
DayPilot