DayPilot.Column.events.totalDuration

The DayPilot.Calendar.events.totalDuration() method returns the total duration of all events in a Calendar column.

Declaration

DayPilot.Column.events.totalDuration()

Return Value

DayPilot.Duration object

Example

const total = dp.columns.find(DayPilot.Date.today(), "A").events.totalDuration();