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
- RecurrenceModel - Recurrence data model
- RecurrenceEditor - Recurrence editor
- RecurrenceConfirmationPopup - Confirmation dialog
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this classProperties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of RecurringEvents class, or subclass thereof.
-
Identifies an object as an instance of RecurringEvents class, or subclass thereof.