DayPilot.Row.events.totalDuration

The events.totalDuration() method returns the total duration of all events in the row.

Declaration

DayPilot.Row.events.totalDuration()

Return Value

Returns a DayPilot.Duration object representing the combined duration of all events in the row.

Example

const row = dp.rows.find("R1");
const total = row.events.totalDuration();

See Also

DayPilot.Row.events.all()

DayPilot.Row.events.isEmpty()

DayPilot.Row Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript