Svelte Scheduler and Calendar

Set one scheduler prop and the grid places its rows as events on a calendar instead of a table. It is the same <SvGrid> with the same data and columns; only the presentation changes. Events are positioned by time across Month, Week, Day and Agenda views, plus horizontal resource timelines where each row is a person, room or machine.

Like the board view, the scheduler is a pure view of the grid. It renders rows that have already been filtered, sorted and searched, and writes back only through callbacks such as onEventMove and onEventResize, so your data stays yours.

Install

npm i @svgrid/grid @svgrid/enterprise

The grid and its data model are MIT-licensed in @svgrid/grid; this view ships in the commercial @svgrid/enterprise package and runs unlicensed while you evaluate.

The code

<script lang="ts">
  import { SvGrid } from '@svgrid/grid'
  import { enableSchedulerView } from '@svgrid/enterprise'

  enableSchedulerView()

  let data = $state([
    { id: 1, title: 'Standup', start: '2026-09-01T09:00', end: '2026-09-01T09:15' },
    { id: 2, title: 'Design review', start: '2026-09-01T13:00', end: '2026-09-01T14:00' },
  ])
</script>

<SvGrid
  {data}
  {columns}
  scheduler={{
    startField: 'start',
    endField: 'end',
    titleField: 'title',
    initialView: 'week',
    weekStartsOn: 1,
    editable: true,
  }}
/>

What you get

Live examples

Documentation

Frequently asked questions

How do I add a scheduler to a Svelte app?

Install @svgrid/enterprise, call enableSchedulerView() once, and set the scheduler prop on <SvGrid> with the fields that hold the start and end of each row.

Is the scheduler a Gantt chart?

No. The scheduler is a resource, booking and calendar view: appointments, staff and asset scheduling. It deliberately has no critical path, baselines or work-breakdown structure, and none are planned.

Is the scheduler free?

The scheduler prop and its config types are part of the free MIT grid, but the calendar renderer ships in the commercial @svgrid/enterprise package.

Can events be edited?

Yes. Set editable and the scheduler supports drag to move, edge-drag to resize, drag-select to create and a built-in edit drawer, each reporting back through a callback.

Build something else

Get started · Browse the gallery · Pricing