This demo loads the events directly from the specified URL using the
events.load()
method. Read more about
loading events
[doc.daypilot.org].
Agent-readable demo data
- Title
- Event Loading (JavaScript Scheduler) | DayPilot Lite for JavaScript Demo
- Tree
- DayPilot JavaScript Demo
- Catalog root
- Lite
- Description
- This demo loads the events directly from the specified URL using the events.load()
method. Read more about loading events
[doc.daypilot.org].
Inline demo script 1
const dp = new DayPilot.Scheduler("dp", {
startDate: "2026-10-01",
days: 365,
scale: "Day",
timeHeaders: [
{ groupBy: "Month", format: "MMMM yyyy" },
{ groupBy: "Cell", format: "d" }
]
});
const app = {
loadData() {
dp.rows.load("eventloadingresources.txt");
dp.events.load("eventloadingevents.txt");
},
init() {
dp.init();
this.loadData();
}
};
app.init();