Getting Started with Kendo UI for Angular Scheduler
The Scheduler displays events in different views with built-in support for editing, time zones, and recurrence rules.
Basic Usage
The following example demonstrates the Scheduler in action.
Installation
Either use the quick setup (Angular CLI) or manually add the package.
The Scheduler requires @progress/kendo-theme-(default|bootstrap|material) v2.59.x or greater.
Quick Setup with Angular CLI
Angular CLI supports the addition of packages through the ng add
command which executes in one step the set of otherwise individually needed commands.
ng add @progress/kendo-angular-scheduler
Manual Setup
Download and install the package.
npm install --save @progress/kendo-angular-scheduler @progress/kendo-angular-common @progress/kendo-angular-buttons @progress/kendo-angular-dateinputs @progress/kendo-angular-dropdowns @progress/kendo-angular-inputs @progress/kendo-angular-intl @progress/kendo-angular-l10n @progress/kendo-angular-popup @progress/kendo-data-query @progress/kendo-date-math @progress/kendo-drawing @progress/kendo-recurrence @progress/kendo-licensing
Once installed, import the SchedulerModule in your application root or feature module.
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { SchedulerModule } from '@progress/kendo-angular-scheduler'; import { AppComponent } from './app.component'; @NgModule({ bootstrap: [ AppComponent ], declarations: [ AppComponent ], imports: [ BrowserModule, BrowserAnimationsModule, SchedulerModule ] }) export class AppModule { }
You are required to install one of the Kendo UI themes for Angular to style your components. For more information on how to add the styles, refer to the section on styling.
For Angular 9.x and later, install the
@angular/localize
package:- Run
npm install --save @angular/localize
. - Add
import '@angular/localize/init';
to yoursrc/polyfills.ts
file.
- Run
Follow the instructions on the Kendo UI for Angular My License page to activate your license. You can skip this step if your application already contains a Kendo UI license file.
Dependencies
The Scheduler package requires the following peer dependencies that have to be installed by your application:
- @angular/common
- @angular/core
- @angular/forms
- @angular/animations
- @progress/kendo-angular-common
- @progress/kendo-angular-buttons
- @progress/kendo-angular-dateinputs
- @progress/kendo-angular-dropdowns
- @progress/kendo-angular-inputs
- @progress/kendo-angular-intl
- @progress/kendo-angular-l10n
- @progress/kendo-angular-popup
- @progress/kendo-data-query
- @progress/kendo-date-math
- @progress/kendo-drawing
- @progress/kendo-licensing
- @progress/kendo-recurrence
The Scheduler package utilizes the Angular animation system, which supports a specific set of browsers.
Functionality and Features
- Data binding
- Editing
- Views
- Timezones
- Toolbar customization
- Templates
- Globalization
- Keyboard navigation
- Accessibility