DayPilot.Scheduler.multirange.add

The multirange.add() method adds a new time range to the current selection.

Declaration

DayPilot.Scheduler.multirange.add(selection);

Parameters

  • selection - An object with start (DayPilot.Date or string), end (DayPilot.Date or string), and resource (string or number) properties

See Also

Example

dp.multirange.add({start: "2025-01-01", end: "2025-01-05", resource: "R1"});