Skip to main content

ASPxClientListEdit.SetSelectedIndex(index) Method

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

#Declaration

TypeScript
SetSelectedIndex(
    index: number
): void

#Parameters

Name Type Description
index number

The 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