DayPilot.Row.events.isEmpty

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.all()

DayPilot.Row.events.totalDuration()

DayPilot.Row Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript