The events.find() method returns the event with the specified ID.
DayPilot.Queue.events.find(id)id (string | number) - ID of the event to find
Returns a DayPilot.Event object if a matching event is found; otherwise returns null.
This method looks up queue items by event ID.
Find an event by ID:
const event = dp.events.find(3);DayPilot.Queue.events.remove()