The id() method returns the id of the calendar or scheduler event.
DayPilot.Event.id()
The event id (string or number).
const id = e.id();
DayPilot.Event Class
Availability of this API item in DayPilot editions: