You can use AfterEventRenderJavaScript property to execute custom code after the event is created.
Two local variables will be available to such custom code:
- e (DayPilot.Event object)
- div (the HTML div element that represents the event)
AfterEventRenderJavaScript is available in all controls (Calendar, Month, Scheduler and Dynamic Scheduler).