ProSchedulerSign in

Timeline · Resources

Resource group summaries

With groupSummary, a department row shows its people's work faded, so a collapsed group still shows how busy it is.

Live demo

Expand a collapsed department · Move a child's work and watch the summary

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

export function GroupSummaryDemo() {
  const { events, handlers } = useEvents(studioAssignments)

  return (
    <ProScheduler
      data={events}
      resources={studioTeams.map((team, i) => ({ ...team, eventCreation: false, collapsed: i > 0 }))}
      // Each department row shows its people's work, faded, even when collapsed.
      view={{ timeline: { type: "month", groupSummary: true } }}
      height={520}
      {...handlers}
    />
  )
}

About this demo

With groupSummary, a department row shows its people's work faded, so a collapsed group still shows how busy it is.

Things to try

  • Expand a collapsed department
  • Move a child's work and watch the summary

The props behind it are explained in Resources.

Use ProScheduler in your project