Syncfusion javascript scheduler
Skill syncfusion/javascript-ui-controls-skills/skills/syncfusion-javascript-scheduler
Implement the Syncfusion Essential JS 2 TypeScript Scheduler (Schedule) component for event and appointment management. Use this when working with scheduling interfaces, calendar views, appointment CRUD operations, or resource management. This skill covers scheduler setup, views configuration, appointments handling, recurring events, resource scheduling, timeline views, editor templates, exporting functionality, timezone support, styling, and accessibility features.From its SKILL.md
npx -y skills add syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-schedulerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
11.1 KB, ~2.6k tokens by cl100k_base, as published. Nobody here has run it
Implementing Syncfusion TypeScript Scheduler
A comprehensive skill for implementing the Syncfusion EJ2 TypeScript Schedule (Scheduler) component β a full-featured calendar and appointment management UI supporting multiple views, recurring events, resource grouping, drag-and-drop, inline editing, and data export.
When to Use This Skill
- Setting up and initializing the Scheduler in a TypeScript project
- Configuring calendar views (Day, Week, WorkWeek, Month, Year, Agenda, Timeline variants)
- Binding local or remote appointment data to the Scheduler
- Implementing CRUD (create, read, update, delete) for events
- Working with recurring events and the RecurrenceEditor
- Configuring multiple resources and grouped views
- Customizing the event editor popup or quick info templates
- Exporting Scheduler data to Excel, CSV, or iCalendar (.ics)
- Handling timezones for global user bases
- Styling, theming, and accessibility compliance
Documentation and Navigation Guide
Getting Started & Module Injection
π Read: references/getting-started.md
- Package dependencies and npm installation
- CSS imports and theme configuration
- Module injection with
Schedule.Inject() - Initializing the Scheduler and appending to DOM
- Populating appointments with
eventSettings.dataSource - Setting
selectedDateandcurrentView - Individual per-view configuration with
viewsarray
Views Configuration
π Read: references/views.md
- All 12 view types and their module requirements
- Per-view options (startHour, endHour, timeScale, showWeekend, etc.)
- Extended views using
intervalanddisplayName - Timeline view orientations and Agenda view options
Appointments & Recurring Events
π Read: references/appointments.md
- Normal, spanned, all-day, and recurring event types
- iCal
RecurrenceRulestring syntax (FREQ, BYDAY, COUNT, UNTIL, etc.) - Recurrence exceptions and editing individual/following occurrences
- Built-in event fields reference table
- Custom field mapping via
eventSettings.fields - Preventing overlaps with
allowOverlap, custom ordering withsortComparer
Data Binding
π Read: references/data-binding.md
- Local JSON array binding via
eventSettings.dataSource - Remote binding with
DataManagerandODataV4Adaptor - AJAX loading pattern using
ej2-base Ajax - Server-side date range filtering with
includeFiltersInQuery - Passing query parameters with
eventSettings.query - Google Calendar API integration via
dataBindingevent
CRUD Actions
π Read: references/crud-actions.md
- Creating events via editor, quick popup, or
addEvent()method - Updating and deleting with
saveEvent()anddeleteEvent() - Server-side CRUD using
UrlAdaptor+crudUrl - Field validation with
validationproperty (required, regex) actionBegin/actionCompletelifecycle events- Enabling read-only mode
Editor Template & Quick Info
π Read: references/editor-template.md
- Customizing default editor fields via
popupOpen - Full editor replacement with
editorTemplate editorHeaderTemplateandeditorFooterTemplate- Custom quick info popups with
quickInfoTemplates showQuickInfotoggle andcloseEditor()method- Custom timezone dropdown via
timezoneDataSource
Resources & Grouping
π Read: references/resources.md
- Defining resources with
resourcesproperty and field mappings - Single and multi-level grouping via
group.resources - Date-based grouping with
group.byDate allowMultiplefor multi-resource event assignment- Resource-specific working hours, colors, and CSS classes
- Expandable resource rows in Timeline views
Working Days, Hours & Timescale
π Read: references/working-days-timescale.md
workDays,showWeekend,showWeekNumber,firstDayOfWeekworkHourshighlight, start, and end configurationstartHour/endHourfor visible time rangetimeScalewithintervalandslotCount- Major/minor slot templates
scrollTo()for programmatic time scroll
Cell, Header & View Customization
π Read: references/cell-header-customization.md
cellTemplatewithelementTypeconditionsrenderCellevent for targeted cell modificationscellHeaderTemplatefor Month view date headers- Header bar:
showHeaderBar,toolbarItems,dateHeaderTemplate - Timeline
headerRowsproperty for Year/Month/Week/Date/Hour rows minDate/maxDatefor date range restrictions
Exporting & Printing
π Read: references/exporting.md
exportToExcel()withExportOptions(fileName, fields, customData, etc.)- CSV export via
exportType: 'csv' excelExportevent for pre-export customizationexportToICalendar()to.icsformatimportICalendar()from a file Blobprint()method withbeforePrintevent
Timezone Handling
π Read: references/timezone.md
timezoneproperty (IANA timezone string)- Per-event
StartTimezone/EndTimezonefields Timezoneutility class:offset(),convert(),add(),remove()- Customizing the timezone dropdown with
timezoneData - UTC mode for global/multi-region teams
Recurrence Editor
π Read: references/recurrence-editor.md
- Standalone
RecurrenceEditorcomponent setup frequenciesandendTypesproperty configurationchangeevent for getting generated rule stringsetRecurrenceRule()andgetRecurrenceDates()methods
Styling & Theming
π Read: references/scheduler-styling.md
- CSS class selector reference for all Scheduler elements
- View-scoped selectors (
.e-vertical-view,.e-month-view, etc.) - State classes: selected cells, selected appointments
- Resource row selectors for Timeline views
- Block and read-only appointment styles
Advanced Features
π Read: references/advanced-features.md
- Context menu integration with
ContextMenu - Clipboard:
allowClipboard,cut(),copy(),paste(),beforePasteevent - Virtual scrolling with
allowVirtualScrollingandenableLazyLoading rowAutoHeightfor Timeline and Month views- State persistence with
enablePersistence - Islamic/Hijri calendar via
calendarMode: 'Islamic' - Scheduler dimensions:
heightandwidth - Accessibility, WCAG 2.2, keyboard shortcuts
Quick Start
import { Schedule, Day, Week, WorkWeek, Month, Agenda } from '@syncfusion/ej2-schedule';
// Inject required view modules
Schedule.Inject(Day, Week, WorkWeek, Month, Agenda);
let scheduleObj: Schedule = new Schedule({
height: '550px',
selectedDate: new Date(2018, 1, 15),
currentView: 'Week',
eventSettings: {
dataSource: [
{
Id: 1,
Subject: 'Team Meeting',
StartTime: new Date(2018, 1, 15, 10, 0),
EndTime: new Date(2018, 1, 15, 12, 0)
}
]
}
});
scheduleObj.appendTo('#Schedule');
/* In styles.css */
@import '../../node_modules/@syncfusion/ej2-base/styles/fluent2.css';
@import '../../node_modules/@syncfusion/ej2-buttons/styles/fluent2.css';
@import '../../node_modules/@syncfusion/ej2-calendars/styles/fluent2.css';
@import '../../node_modules/@syncfusion/ej2-dropdowns/styles/fluent2.css';
@import '../../node_modules/@syncfusion/ej2-inputs/styles/fluent2.css';
@import '../../node_modules/@syncfusion/ej2-navigations/styles/fluent2.css';
@import '../../node_modules/@syncfusion/ej2-popups/styles/fluent2.css';
@import '../../node_modules/@syncfusion/ej2-schedule/styles/fluent2.css';
Common Patterns
Pattern 1: Switch to Month View with Weekend Hidden
import { Schedule, Month } from '@syncfusion/ej2-schedule';
Schedule.Inject(Month);
let scheduleObj: Schedule = new Schedule({
height: '550px',
currentView: 'Month',
showWeekend: false,
eventSettings: { dataSource: [...] }
});
scheduleObj.appendTo('#Schedule');
Pattern 2: Custom Field Names
let scheduleObj: Schedule = new Schedule({
height: '550px',
eventSettings: {
dataSource: myData,
fields: {
id: 'EventId',
subject: { name: 'Title' },
startTime: { name: 'From' },
endTime: { name: 'To' },
isAllDay: { name: 'AllDay' }
}
}
});
scheduleObj.appendTo('#Schedule');
Pattern 3: Programmatic Event Creation
let eventData: Object = {
Id: 10,
Subject: 'New Event',
StartTime: new Date(2018, 1, 15, 14, 0),
EndTime: new Date(2018, 1, 15, 16, 0)
};
scheduleObj.addEvent(eventData);
Pattern 4: Resource-Grouped Timeline
import { Schedule, TimelineViews } from '@syncfusion/ej2-schedule';
Schedule.Inject(TimelineViews);
let scheduleObj: Schedule = new Schedule({
height: '550px',
currentView: 'TimelineWeek',
group: { resources: ['Rooms'] },
resources: [{
field: 'RoomId',
title: 'Room',
name: 'Rooms',
dataSource: [
{ RoomText: 'Room 1', Id: 1, RoomColor: '#cb6bb2' },
{ RoomText: 'Room 2', Id: 2, RoomColor: '#56ca85' }
],
textField: 'RoomText',
idField: 'Id',
colorField: 'RoomColor'
}],
eventSettings: { dataSource: [...] }
});
scheduleObj.appendTo('#Schedule');
Key Properties Reference
| Property | Type | Description |
|---|---|---|
height | string | Scheduler height ('550px', '100%', 'auto') |
width | string | Scheduler width |
selectedDate | Date | Currently displayed date |
currentView | string | Active view name |
views | ViewsModel[] | Per-view configuration array |
eventSettings | EventSettingsModel | Data source and field mappings |
group | GroupModel | Resource grouping configuration |
resources | ResourcesModel[] | Resource definitions |
workDays | number[] | Days of week to show (0=Sunβ6=Sat) |
workHours | WorkHoursModel | Work hour highlight and range |
showWeekend | boolean | Show/hide Saturday and Sunday |
timezone | string | IANA timezone string for display |
enablePersistence | boolean | Persist state in localStorage |
readonly | boolean | Disable all CRUD interactions |
allowClipboard | boolean | Enable cut/copy/paste for events |
What ships with it: 14 files
128.2 KB alongside SKILL.md
references/
- advanced-features.md7.7 KB
- appointments.md13.2 KB
- cell-header-customization.md12.5 KB
- crud-actions.md8.2 KB
- data-binding.md9.8 KB
- editor-template.md14.2 KB
- exporting.md5.5 KB
- getting-started.md7.5 KB
- recurrence-editor.md6.4 KB
- resources.md12.4 KB
- scheduler-styling.md5.4 KB
- timezone.md5.7 KB
- views.md10.9 KB
- working-days-timescale.md9.0 KB