v7.3.0
SupportExamplesFree Trial

RecurringEvents
Mixin

A mixin that adds functionality related to recurring events to the Scheduler and Calendar widgets.

The main purpose of the code in here is displaying a special confirmation when the user interacts with recurring events and their occurrences (via drag-drop/resize/delete etc.). See this in action in the recurrence demo found in Calendar and Scheduler.

Recurring event data structure

Recurring timespans can have a recurrenceRule specified defining the repetition pattern (based on the RFC-5545. You can also provide exceptionDates to the data to exclude certain dates. See sample data below for an event record which repeats weekly on Tuesdays and Thursdays at 12pm-1pm (except March 28, 2024).

{
    id: 7,
    startDate: '2021-10-12T12:00:00',
    endDate: '2021-10-12T13:00:00',
    name: 'Lunch',
    resourceId: 123,
    recurrenceRule: 'FREQ=WEEKLY;BYDAY=TU,TH',
    exceptionDates: ['2024-03-28']
}

To enable this functionality in the Scheduler, set enableRecurringEvents to true.

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class

    Events

    Events are triggered for certain actions in this class and can be listened for to react to those actions in your code

    Event handlers

    Event handlers are callbacks called as a result of certain actions in this class

    Source path

    Scheduler/view/mixin/RecurringEvents.js

    Demo

    examples/recurrence

    Contents