Back to Devexpress

ASPxClientListBox.GetSelectedIndices Method

aspnet-js-aspxclientlistbox-d0974008.md

latest1.4 KB
Original Source

ASPxClientListBox.GetSelectedIndices Method

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

Declaration

ts
GetSelectedIndices(): number[]

Returns

TypeDescription
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

SelectedIndices

SelectIndices(indices)

UnselectIndices(indices)

SelectAll

UnselectAll

SelectionMode

List Box

ASPxClientListBox Class

ASPxClientListBox Members