ListBoxComponent
Represents the Kendo UI ListBox component for Angular.
Selector
kendo-listbox
Inputs
Name | Type | Default | Description |
---|---|---|---|
data |
|
The data which will be displayed by the ListBox. | |
itemDisabled |
|
A function which determines if a specific item is disabled. | |
listboxLabel |
|
The value of the aria-label attribute of the Listbox element. | |
listboxToolbarLabel |
|
The value of the aria-label attribute of the Listbox toolbar element. | |
size |
|
Sets the size of the component. The possible values are:
| |
textField |
|
The fields of the data item that provide the text content of the nodes. | |
toolbar |
|
Sets whether a toolbar should be displayed with the ListBox, as well as what tools and position should be used. |
Fields
Name | Type | Default | Description |
---|---|---|---|
selectedIndex |
|
The index of the currently selected item in the ListBox. |
Events
Name | Type | Description |
---|---|---|
actionClick |
|
Fires when the user clicks a ListBox item. |
selectionChange |
|
Fires when the user selects a different ListBox item. Also fires when a node is moved, since that also changes its index. |
Methods
clearSelection |
---|
Programmatically clears the ListBox selection. |
selectItem | ||||||
---|---|---|---|---|---|---|
Programmatically selects a ListBox node. | ||||||
|