DayPilot.Scheduler.multirange.get

The multirange.get() method returns the current time range selection segments.

Declaration

DayPilot.Scheduler.multirange.get()

Return Value

Returns an array of selection segments with the following properties:

  • start (DayPilot.Date) - selection segment start

  • end (DayPilot.Date) - selection segment end

  • resource (string | number) - selection segment resource ID

Example

const selection = dp.multirange.get();

See Also

Time range multi-selecting [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript