ProSchedulerSign in

Scheduler · Resources

Multi-resource view

resources: true splits the day into a column per resource; each column shows only that resource's events, and dragging across columns reassigns them.

Live demo

Drag a session to another person · Draw a new one in someone's column

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

export function MultiResourceDemo() {
  const { events, handlers } = useEvents(studioSessions)

  return (
    <ProScheduler
      data={events}
      resources={studioResources.slice(0, 5)}
      view={{ scheduler: { type: "day", resources: true, startTime: "07:00", endTime: "20:00" } }}
      height={600}
      {...handlers}
    />
  )
}

About this demo

resources: true splits the day into a column per resource; each column shows only that resource's events, and dragging across columns reassigns them.

Things to try

  • Drag a session to another person
  • Draw a new one in someone's column

The props behind it are explained in Resources.

Use ProScheduler in your project