The events.all() method returns all events that are currently loaded in the Scheduler.
DayPilot.Scheduler.events.all()
This method has no parameters.
Returns an array of DayPilot.Event objects.
const events = dp.events.all();
DayPilot.Scheduler.events.find()
DayPilot.Scheduler Class
Availability of this API item in DayPilot editions: