ListBoxProps
Represents the props of the KendoReact ListBox component.
Name | Type | Default | Description |
---|---|---|---|
className? |
|
Sets a | |
data |
|
Set the data of the ListBox. | |
draggable? |
|
Makes the items of the ListBox draggable. The items are draggable by default. | |
id? |
|
Sets a | |
item? |
|
Defines the component that will be rendered for each item of the data collection. | |
onDragLeave? |
|
Fires when a dragged element or text selection leaves the ListBox element. | |
onDragOver? |
|
Fires when an the user drags over an item from the ListBox. The event contains information for the item that is dragged over. | |
onDragStart? |
|
Fires when an the user start to drag an item from the ListBox. The event contains information for the item that is being dragged. | |
onDrop? |
|
Fires when an the user drops an item. The event contains information for the drop target item. | |
onItemClick? |
|
Fires when an item from the ListBox is clicked. Contains the clicked item. | |
onItemSelect? |
|
Fires when an item from the ListBox is selected. Contains the selected item. | |
onKeyboardNavigate? |
|
Fires when keyboard navigation action is triggered. | |
onKeyDown? |
|
Fires on keydown over the ListBox list items. It can be use to add keyboard extra keyboard navigation option. | |
selectedField? |
|
Set the selected field of the ListBox. Based on that value of that field, an item will be selected or not. | |
size? |
|
|
Configures the The available options are:
|
style? |
|
Specifies the styles which are set to the ListBox container. | |
textField |
|
Sets the data item field that represents the item text. If the data contains only primitive values, do not define it. | |
toolbar? |
|
Renders a toolbar component next to the ListBox. | |
toolbarPosition? |
|
Sets the position of the toolbar of the ListBox if one is set. The ListBox may have no toolbar.
| |
valueField? |
|
The field that be used during form submit. Defaults to the textField if not set. |