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 startend(DayPilot.Date) - selection segment endresource(string | number) - selection segment resource ID
Example
const selection = dp.multirange.get();See Also
Time range multi-selecting [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot