DayPilot.Calendar.events.list

The events.list property is an array that holds event calendar data. You can use it to load calendar events.

The structure of the array items must follow the DayPilot.Event.data structure.

The events will be displayed after calling init() or update().

Default Value

[]

Example

dp.events.list = [
  {
    start:"2021-12-18T14:00:00", 
    end:"2021-12-18T16:00:00", 
    id: 1, 
    text: "Meeting"
  }
];