Skip to main content
A newer version of this page is available. .

ASPxClientListBox.GetSelectedIndices Method

Returns an array of the list editor’s selected items indices.

Declaration

GetSelectedIndices(): number[]

Returns

Type Description
number[]

An array of integer values that represent the indices of the selected items.

Remarks

Use the GetSelectedIndices method to identify an array of the selected items within the list editor by their indices.

Note

The GetSelectedIndices method is not in effect if the ASPxListBox.SelectionMode property is set to ListEditSelectionMode.Single.

For more information about multiple selection, read the Multi-Selection Mode topic.

See Also