React Scheduler - Date Navigator

The date navigator is an element that allows you to change the date displayed on the view.

Scheduler Date Navigator

You can specify the range of available dates in the min and max properties:

App.js
  • import React from 'react';
  •  
  • import 'devextreme/dist/css/dx.light.css';
  •  
  • import Scheduler from 'devextreme-react/scheduler';
  •  
  • const min = new Date(2018, 2, 3);
  •  
  • const max = new Date(2018, 4, 3);
  •  
  • class App extends React.Component {
  • render() {
  • return (
  • <Scheduler
  • min={min}
  • max={max}
  • />
  • );
  • }
  • }
  • export default App;

Use the customizeDateNavigatorText function to customize the navigator's text. Refer to the function's description for an example.