The events.list property (array) stores the event data used by the JavaScript Scheduler component.
DayPilot.Scheduler.events.listnullThe array items must follow the DayPilot.Event.data structure.
The events are displayed after calling init() or update().
JavaScript
const dp = new DayPilot.Scheduler("dp", {
// ...
});
dp.init();
// ...
const events = [
{
start: "2025-12-18T14:00:00",
end: "2025-12-18T16:00:00",
id: 1,
text: "Meeting",
resource: "A",
},
];
dp.update({events});Angular
<daypilot-scheduler [config]="config" [events]="events"></daypilot-scheduler>events = [
{
start: "2025-12-18T14:00:00",
end: "2025-12-18T16:00:00",
id: 1,
text: "Meeting",
resource: "A",
},
];
config: DayPilot.SchedulerConfig = {
// ...
};React
const events = [
{
start: "2025-12-18T14:00:00",
end: "2025-12-18T16:00:00",
id: 1,
text: "Meeting",
resource: "A",
},
];<DayPilotScheduler
events={events}
{/* ... */}
/>Vue
const events = ref([
{
start: "2025-12-18T14:00:00",
end: "2025-12-18T16:00:00",
id: 1,
text: "Meeting",
resource: "A",
},
]);<DayPilotScheduler
:events="events"
<!-- ... -->
/>Event Loading [doc.daypilot.org]