The all() method returns all events for the column represented by the DayPilot.Column object.
Declaration
DayPilot.Column.events.all()Return Value
Returns an array of DayPilot.Event objects.
Example
const dp = new DayPilot.Calendar("dp", {
// ...
});
dp.init();
const events = dp.columns.find(DayPilot.Date.today()).events.all();See Also
DayPilot.Column.events.forRange()
DayPilot.Column.events.isEmpty()
DayPilot.Column.events.totalDuration()
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot