The cells.forRange() method returns an array of cells for the specified time range.
Declaration
DayPilot.Row.cells.forRange(start, end)Parameters
start(DayPilot.Date | string) - range start date/timeend(DayPilot.Date | string) - range end date/time
Return Value
Returns an array of cells for the specified time range.
Example
dp.rows.find("A").cells.forRange(DayPilot.Date.today(), DayPilot.Date.today().addDays(1)).addClass("today");See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot