Help us make our products better.Take our 5 minute survey.
Dismiss

ViewState Plugin Reference

A plugin that manages the view state. It specifies the current date and the displayed view.

Import

Use the following statement to import the plugin:

import { ViewState } from '@devexpress/dx-react-scheduler';

User Reference

Dependencies

none

Properties

Name Type Default Description
currentDate? SchedulerDateTime The current date.
defaultCurrentDate? SchedulerDateTime The initial date in the uncontrolled mode.
onCurrentDateChange? (currentDate: Date) => void Handles changes to the current date.
currentViewName? string The displayed view's name.
defaultCurrentViewName? string The initially displayed view's name in the uncontrolled mode.
onCurrentViewNameChange? (viewName: string) => void Handles changes to the displayed view.
This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies. For more information, refer to DevExpress’ privacy policy and cookie policy.