Angular Scheduler - Date Navigator
The date navigator is a predefined toolbar item that allows you to change the displayed date in the dxScheduler.

The date navigator is a DevExtreme ButtonGroup with three buttons: previous date ('prev'), next date ('next'), and date interval ('dateInterval'). You can customize the order of these buttons or add new buttons using options.items:
- <dx-scheduler ... >
- <dxo-scheduler-toolbar>
- <dxi-scheduler-toolbar-item
- name="dateNavigator"
- [options]="dateNavigatorOptions">
- </dxi-scheduler-toolbar-item>
- </dxo-scheduler-toolbar>
- </dx-scheduler>
- import { DxSchedulerModule } from 'devextreme-angular'
- // ...
- export class AppComponent {
- dateNavigatorOptions = {
- items: ['prev', 'dateInterval', 'next', {
- icon: 'more',
- onClick() {
- console.log("The custom button was clicked.")
- },
- }]
- }
- }
You can configure the customizeDateNavigatorText callback to customize the date interval text. To customize the range of available dates in the date navigator, configure min and max properties:
- <dx-scheduler ...
- [min]="minDate"
- [max]="maxDate">
- </dx-scheduler>
- import { DxSchedulerModule } from 'devextreme-angular'
- // ...
- export class AppComponent {
- minDate: Date = new Date(2026, 2, 3);
- maxDate: Date = new Date(2026, 4, 3);
- }
To hide the date navigator, configure toolbar.items[] and omit "dateNavigator". The following code snippet displays only the "viewSwitcher" predefined toolbar item:
- <dx-scheduler ... >
- <dxo-scheduler-toolbar>
- <dxi-scheduler-toolbar-item
- name="viewSwitcher"
- </dxi-scheduler-toolbar-item>
- </dxo-scheduler-toolbar>
- </dx-scheduler>