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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot