selectedIndex([index])
Class: ComboBox.
Description:
Sets or gets an index of a selected item. Can be used to make an item at certain index to be selected.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
Index of an item to select. |
Returns:
If index is specified, then this component instance is returned, otherwise currently selected index is returned.
Type: ComboBox | number
