# Navigation

The Scheduler component provides the option to control its behavior when using the the **Prev** and **Next** navigation buttons by configuring the `step` and `numberOfDays` properties of each view.

> The `step` and `numberOfDays` properties are only available in the **Agenda**, **Timeline** and **Day** views. For custom navigation scenarios in the **Month** and **Week** views, please check the custom navigation article below.

## Default Navigation

The following example allows you to test how the Scheduler behaves when changing the `step` and `numberOfDays` properties for the **Agenda**, **Timeline** and **Day** views.

[Demo Source](https://demos.telerik.com/kendo-react-ui/scheduler/navigation/uncontrolled/func/source.txt)

## Custom Navigation

As an alternative to what is discussed above, the Scheduler gives you the freedom to integrate custom navigation logic by dynamically updating the not only the `step` and `numberOfDays` properties but also the `date` one, each time the user interacts with the **Prev** and **Next** buttons.

The following example uses the [`onDateChange`](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerprops#ondatechange) event to implement a logic that moves the days in the `day` view by two days.

[Demo Source](https://demos.telerik.com/kendo-react-ui/scheduler/navigation/controlled/func/source.txt)

## Suggested Links

* [Date Selection in the KendoReact Scheduler](https://www.telerik.com/kendo-react-ui/components/scheduler/date-selection)
* [Data Binding in the KendoReact Scheduler](https://www.telerik.com/kendo-react-ui/components/scheduler/data-binding)
* [API Reference of the KendoReact SchedulerDataChangeEvent](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerprops#ondatachange)
* [Controlled vs. Uncontrolled Components](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components)
* [KendoReact Scheduler](https://www.telerik.com/kendo-react-ui/components/scheduler/)
