React 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:
- import { Scheduler, Toolbar, Item } from 'devextreme-react/scheduler';
- // ...
- const dateNavigatorOptions = {
- items: ['prev', 'dateInterval', 'next', {
- icon: 'more',
- onClick() {
- console.log("The custom button was clicked.")
- },
- }]
- };
- function App() {
- return (
- <Scheduler ... >
- <Toolbar>
- <Item
- name="dateNavigator"
- options={dateNavigatorOptions}
- />
- </Toolbar>
- </Scheduler>
- );
- }
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:
- import { Scheduler } from 'devextreme-react/scheduler';
- const minDate = new Date(2026, 2, 3);
- const maxDate = new Date(2026, 4, 3);
- function App() {
- return (
- <Scheduler
- min={minDate}
- max={maxDate}
- />
- );
- }
To hide the date navigator, configure toolbar.items[] and omit "dateNavigator". The following code snippet displays only the "viewSwitcher" predefined toolbar item:
- import { Scheduler, Toolbar, Item } from 'devextreme-react/scheduler';
- // ...
- function App() {
- return (
- <Scheduler ... >
- <Toolbar>
- <Item
- name="viewSwitcher"
- />
- </Toolbar>
- </Scheduler>
- );
- }