ASPxClientListEdit.SetSelectedIndex(index) Method

Sets the list editor's selected item specified by its index.

Declaration

SetSelectedIndex(index: number): void

Parameters

Name Type Description
index number

An integer value specifying the zero-based index of the item to select.

Remarks

Use the SetSelectedIndex method on the client side to specify the selected item within the list editor. If a value of -1 is passed as the parameter, no item will be selected within the list editor.

See Also