ASPxClientComboBox.GetSelectedIndex Method

Returns the index of the selected item within the combo box editor.

Declaration

GetSelectedIndex(): number

Returns

Type Description
number

An integer value representing the zero-based index of the selected item.

Remarks

Use the GetSelectedIndex method to identify the editor's selected item by its index. A value of -1 indicates that no item is currently selected within the list editor.

See Also