The totalDuration() method returns the total duration of all events in a calendar column.
DayPilot.Column.events.totalDuration()Returns a DayPilot.Duration object representing the total duration of all events in the column.
const dp = new DayPilot.Calendar("dp", {
// ...
});
dp.init();
const total = dp.columns.find(DayPilot.Date.today(), "A").events.totalDuration();DayPilot.Column.events.forRange()