DayPilot.Scheduler.events.forRange

The events.forRange() method returns Scheduler events for the specified date/time range.

Declaration

DayPilot.Scheduler.events.forRange([start[, end]])

Parameters

Return Value

Returns an array of DayPilot.Event objects.

Notes

Use this method to collect all events in a custom date/time range or in the current visible range.

Example

const events = dp.events.forRange("2025-01-10T00:00:00", "2025-01-15T00:00:00");

See Also

DayPilot.Scheduler.visibleStart()

DayPilot.Scheduler.visibleEnd()

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript