ProSchedulerSign in

Agenda · Setting up

Full-page list

scrollable: false with height="auto": the agenda grows to fit every day and the page scrolls instead.

Live demo

Scroll the page

Fullscreen
import { ProScheduler } from "@andreisaac/pro-scheduler"
import { studioResources, studioSessions } from "./data/studio"
import { useEvents } from "./kit"

export function AgendaFullPageDemo() {
  const { events, handlers } = useEvents(() => studioSessions())
  // The list grows to fit and the page scrolls, not the agenda.
  return (
    <ProScheduler
      data={events}
      resources={studioResources}
      view={{ agenda: { type: "week", scrollable: false } }}
      height="auto"
      {...handlers}
    />
  )
}

About this demo

scrollable: false with height="auto": the agenda grows to fit every day and the page scrolls instead.

Things to try

  • Scroll the page

The props behind it are explained in Recurrence, time zones and order.

Use ProScheduler in your project