The events.isEmpty() method returns true if the row contains no events.
Declaration
DayPilot.Row.events.isEmpty()Return Value
Returns true when the row doesn't contain any events and false otherwise.
Example
const row = dp.rows.find("R1");
const noEvents = row.events.isEmpty();See Also
DayPilot.Row.events.totalDuration()
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot