DropDownListProps
Represents the props of the KendoReact DropDownList component.
Name | Type | Default | Description |
---|---|---|---|
accessKey? |
|
Specifies the | |
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. | |
ariaLabel? |
|
The accessible label of the component. By default is set to value of | |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. | |
className? |
|
Sets additional classes to the DropDownList. | |
data? |
|
Sets the data of the DropDownList (see example). | |
dataItemKey? |
|
Sets the key for comparing the data items of the DropDownList. If | |
defaultItem? |
|
Sets the text of the default empty item. The type of the defined value has to match the data type. | |
defaultValue? |
|
Sets the default value of the DropDownList (see example). Similar to the native | |
delay? |
|
Sets the delay before an item search is performed. When filtration is disabled, use this option. | |
dir? |
|
Represents the | |
disabled? |
|
Sets the disabled state of the DropDownList. | |
fillMode? |
|
|
Configures the The available options are:
|
filter? |
|
Sets the value of filtering input. Useful for making the filtering input a controlled component. | |
filterable? |
|
Enables the filtering functionality of the DropDownList (more information and examples). | |
focusedItemIndex? |
|
If set, the DropDownList will use it to get the focused item index. Default functionality returns the first item which starts with the input text.
| |
footer? |
|
Sets the footer component of the DropDownList (see example). | |
groupField? |
|
Sets the data item field that represents the start of a group. Applicable to objects data. | |
groupHeaderItemRender? |
|
Fires when a DropDownList's group header item is about to be rendered. Used to override the default appearance of the group's headers. | |
groupStickyHeaderItemRender? |
|
Fires when a DropDownList's sticky group header item is about to be rendered. Used to override the default appearance of the sticky group header of the component. | |
header? |
|
Sets the header component of the DropDownList (see example). | |
iconClassName? |
|
Sets CSS classes to the expand | |
id? |
|
Specifies the id of the component. | |
ignoreCase? |
|
Enables a case-insensitive search. When filtering is disabled, use this option. | |
itemRender? |
|
Fires when a DropDownList item is about to be rendered (see example). Used to override the default appearance of the list items. | |
label? |
|
Renders a floating label for the DropDownList. | |
leftRightKeysNavigation? |
|
If set to | |
listNoDataRender? |
|
Fires when the element which indicates no data in the popup is about to be rendered (see example). Used to override the default appearance of the element. | |
loading? |
|
Sets the loading state of the DropDownList. | |
name? |
|
Specifies the | |
onBlur? |
|
Fires each time the DropDownList gets blurred. | |
onChange? |
|
Fires each time the value of the DropDownList is about to change (see examples). | |
onClose? |
|
Fires each time the popup of the DropDownList is about to close. | |
onFilterChange? |
|
Fires each time the user types in the filter input. You can filter the source based on the passed filtration value. | |
onFocus? |
|
Fires each time the user focuses the DropDownList. | |
onOpen? |
|
Fires each time the popup of the DropDownList is about to open. | |
onPageChange? |
|
Fires when both the virtual scrolling of the DropDownList is enabled and the component requires data for another page (see example). | |
opened? |
|
Sets the opened and closed state of the DropDownList. | |
popupSettings? |
|
Configures the popup of the DropDownList. | |
required? |
|
Specifies if This property is part of the FormComponentProps interface. | |
rounded? |
|
|
Configures the The available options are:
|
size? |
|
|
Configures the The available options are:
|
skipDisabledItems? |
|
Defines if DropDownList's disabled items will be skipped or focused when navigating through the list of items using a keyboard. Defaults to | |
style? |
|
The styles that are applied to the DropDownList. | |
svgIcon? |
|
Sets the specified SVG icon. | |
tabIndex? |
|
Specifies the | |
textField? |
|
Sets the data item field that represents the item text (see example). If the data contains only primitive values, do not define it. | |
title? |
|
Sets the title attribute to the DropDownList DOM element. | |
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? |
|
Sets the value of the DropDownList (see example). It can either be of the primitive (string, numbers) or of the complex (objects) type. | |
valueMap? |
|
Represents a callback function, which returns the value for submitting. The returned value will be rendered in an
| |
valueRender? |
|
Fires when the element which renders the value is about to be rendered (see example). Used to override the default appearance of the element. | |
virtual? |
|
Configures the virtual scrolling of the DropDownList (see example). |