This is the code repository for the JavaScript Scheduler: Expandable Event Groups tutorial by DayPilot.
- Includes DayPilot Lite for JavaScript - open-source calendar/scheduling components for JavaScript/Angular/React/Vue (Apache License 2.0).
- This project was generated using the DayPilot UI Builder, an online tool for configuring DayPilot components and generating starter projects.
Connect to official DayPilot tools using the Streamable HTTP MCP endpoint https://mcp.daypilot.org/mcp. See setup and HTTP alternatives and machine-readable discovery. Follow this project's AGENTS.md for its exact typings path and edition constraints.
- References: use
searchandfetchto find and read official documentation, API members and examples; preserve edition qualifications and source URLs. - Packages: use
resolve_packageto look up current official releases when an installation or upgrade is requested. Pro installation guidance supplies a trial; preserve any existing licensed dependency. - Themes: use
theme_manifest, thenrender_themewith its revision and a unique prefix. Load the returned CSS globally and set the component'sthemeto that prefix; check compatibility with the installed component. - New projects: use
builder_catalog,validate_project, thengenerate_projectonly when deliberately creating a new application. Follow the linked MCP contract for the validated specification, download and verification; extract into a new directory. Validation does not install, build or run the app.
Before applying current documentation, inspect the installed edition, version, and TypeScript definitions (package metadata/lockfiles or the bundled runtime). Current documentation does not establish support in older installed versions. Preserve this application's framework setup, edition, dependencies and lockfiles unless a dependency change is requested. A current-release lookup does not itself authorize an upgrade. Builder creates a fresh project; it does not patch or merge this application.
- The code of this tutorial is licensed under Apache License 2.0.
- This tutorial may include third-party libraries available under their respective licenses.
- Install:
npm ci(uses the included package-lock.json). - Development:
npm run dev. - Build:
npm run build. - Lint: no
lintscript is provided. - Test: this starter does not provide an executable test suite (no
testscript).
Click + to expand Group 1, then click − on either member to collapse it. Member changes survive collapse and expansion in memory. The summary spans the earliest member start to the latest member end; move or resize the members instead of the collapsed summary. Reloading resets the demonstration data. Select an empty time range to create an independent event. Automatic grouping of overlapping events is a separate DayPilot Pro feature.