DayPilot.Queue.events.find

The events.find() method finds an event with the specified ID.

Declaration

DayPilot.Queue.events.find(id);

Parameters

  • id (string | number) - id of the event to be found 

Return Value

DayPilot.Event object or null.

Example

Case insensitive search using event text:

const e = dp.events.find(3);