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

TodayButton Plugin Reference

A plugin that renders the Scheduler's button that is used to navigate to the today's date

Import

Use the following statement to import a plugin with embedded theme components:

import { TodayButton } from '@devexpress/dx-react-scheduler-material-ui';

You can import the themeless plugin if you want to use custom components:

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

User Reference

Dependencies

Properties

Name Type Default Description
buttonComponent ComponentType<TodayButton.ButtonProps> A component that renders the today button.
messages? TodayButton.LocalizationMessages An object that specifies localization messages.

Interfaces

TodayButton.ButtonProps

Properties passed to the component that renders the today button.

Field Type Description
setCurrentDate (nextDate: Date) => void Function that sets the Scheduler's current date.
getMessage (messageKey: string) => string Returns a localization message by the message key.

Localization Messages

Field Type Default Description
today? string today The today button's text.

Plugin Components

Name Properties Description
TodayButton.Button TodayButton.ButtonProps A component that renders the today button.

Additional properties are added to the component's root element.

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.