DayPilot.Queue.events.list

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

The structure of the array items must follow the DayPilot.Event.data structure, with the following exception:

  • the start and end properties can be replaced by duration (a DayPilot.Duration object or a number specifying the duration in seconds)

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

Default Value

[]

Example

dp.events.list = [
  {
    id: 1, 
    text: "Meeting",
    duration: Duration.ofHours(2)
  }
];