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. | |
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. | |
autoFocus? |
|
Represents the | |
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). | |
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 | |
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 | |
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. |