Angular Scheduler - View Switcher
The view switcher is a predefined toolbar item that allows users to switch between Scheduler views.

To specify available views, configure the views array. To specify the current view, configure the currentView property:
Code
- <!-- app.component.html -->
- <dx-scheduler ...
- [views]="views"
- currentView="day"
- ></dx-scheduler>
- <!-- app.component.ts -->
- import { DxSchedulerModule } from "devextreme-angular";
- // ...
- export class AppComponent {
- views = ['day', 'week', 'agenda'];
- }
- @NgModule({
- imports: [
- // ...
- DxSchedulerModule
- ],
- })
NOTE
Be sure to include the currentView value in the views array.
On mobile devices, Scheduler displays the view switcher as a drop-down menu:

To integrate the drop-down menu view switcher on other devices, enable useDropDownViewSwitcher.