DateTimePickerProps
Represents the props of the KendoReact DateTimePicker component.
Name | Type | Default | Description |
---|---|---|---|
adaptive? |
|
Providing different rendering of the popup element based on the screen dimensions. | |
adaptiveTitle? |
|
Specifies the text that is rendered as title in the adaptive popup. | |
allowCaretMode? |
|
|
Determines if the users should see a blinking caret inside the Date Input when possible. |
ariaDescribedBy? |
|
Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message. | |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. | |
autoCorrectParts? |
|
|
Determines whether to autocorrect invalid segments automatically. |
autoFill? |
|
|
When enabled, the DateTimePicker will autofill the rest of the date/time to the current date/time when the component loses focus. |
autoFocus? |
|
Represents the | |
autoSwitchKeys? |
|
|
A string array representing custom keys, which will move the focus to the next date format segment. |
autoSwitchParts? |
|
|
Determines whether to automatically move to the next segment after the user completes the current one. |
calendar? |
|
Enables the customization or the override of the default Calendar which is rendered by the DateTimePicker (see example). | |
cancelButton? |
|
Determines whether to display the Cancel button in the popup. | |
className? |
|
Sets the | |
dateInput? |
|
Enables the customization or the override of the default DateInput which is rendered by the DateTimePicker (see example). | |
defaultShow? |
|
Sets if the calendar popup is opened upon initial render. For more information, refer to the article on uncontrolled components in React. | |
defaultValue? |
|
Sets the default value of the DateTimePicker (see example). For more information, refer to the article on uncontrolled components in React. | |
disabled? |
|
Determines whether the DateTimePicker is disabled (see example). | |
enableMouseWheel? |
|
|
Indicates whether the mouse scroll can be used to increase/decrease the datetime segments values. |
fillMode? |
|
|
Configures the The available options are:
|
focusedDate? |
|
Specifies the initial focusedDate of the Calendar inside the DateTimePicker (see example). | |
format? |
|
Specifies the date format that is used to display the input value (see example). | |
formatPlaceholder? |
|
Defines the descriptions of the format sections in the input field (more information and examples). | |
id? |
|
Specifies the | |
inputAttributes? |
|
Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed. | |
label? |
|
Renders a floating label for the DateTimePicker. | |
max? |
|
Specifies the greatest valid date (see example). | |
maxTime? |
| ||
min? |
|
Specifies the smallest valid date (see example). | |
minTime? |
| ||
name? |
|
Specifies the | |
onBlur? |
|
Fires each time any of the DateTimePicker elements gets blurred. | |
onChange? |
|
Fires each time the user selects a new value (see example). | |
onClose? |
|
Fires each time the popup is closed. | |
onFocus? |
|
Fires each time the user focuses any of the DateTimePicker elements. | |
onOpen? |
|
Fires each time the popup is opened. | |
placeholder? |
|
Specifies the hint the DateInput displays when its value is | |
popup? |
|
Enables the customization or the override of the default Popup which is rendered by the DateTimePicker (see example). | |
required? |
|
Specifies if This property is part of the FormComponentProps interface. | |
rounded? |
|
|
Configures the The available options are:
|
show? |
|
Specifies if the popup will be displayed (see example). | |
size? |
|
|
Configures the The available options are:
|
steps? |
|
Specifies the incremental steps of the The available options are:
| |
tabIndex? |
|
Sets the | |
title? |
|
Sets the title of the | |
twoDigitYearMax? |
|
|
The maximum year to assume to be from the current century when typing two-digit year value (see example). The default value of 68, indicating that typing any value less than 69 will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx. |
valid? |
|
Overrides the validity state of the component.
If This property is part of the FormComponentProps interface. | |
validationMessage? |
|
Controls the form error message of the component. If set to an empty string, no error will be thrown. This property is part of the FormComponentProps interface. | |
validityStyles? |
|
If set to This property is part of the FormComponentProps interface. | |
value? |
|
Specifies the value of the DateTimePicker (see example).
JavaScript | |
weekNumber? |
|
Determines whether to display a week number column of the Calendar inside the DateTimePicker (see example). | |
width? |
|
Specifies the width of the DateTimePicker. |