ProSchedulerSign in

Scheduler · Data

Recurring events

recurring repeats an event, as an object ({ repeat: "weekly", weekDays: "TU,TH" }) or an RRULE string. recurringException leaves days out — no standup on the offsite day.

Live demo

Page through a few weeks · Find the missing standup

Fullscreen
import { ProScheduler } from "@andreisaac/pro-scheduler"
import { teamRituals, teamRooms } from "./data/rituals"
import { useEvents } from "./kit"

export function SchedulerRecurringDemo() {
  const { events, handlers } = useEvents(() => teamRituals())
  return (
    <ProScheduler
      data={events}
      resources={teamRooms}
      view={{ scheduler: { type: "week", startTime: "08:00", endTime: "19:00" } }}
      height={620}
      {...handlers}
    />
  )
}

About this demo

recurring repeats an event, as an object ({ repeat: "weekly", weekDays: "TU,TH" }) or an RRULE string. recurringException leaves days out — no standup on the offsite day.

Daily, weekly, monthly (the first Thursday) and fortnightly series, all from eight events.

Things to try

  • Page through a few weeks
  • Find the missing standup

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

Use ProScheduler in your project