ASPxClientListBox.SelectIndices(indices) Method
In This Article
Selects the items with the specified indices within a list box.
#Declaration
TypeScript
SelectIndices(
indices: number[]
): void
#Parameters
Name | Type | Description |
---|---|---|
indices | number[] | An array of integer values that represent the items indices. |
#Remarks
Use the SelectIndices method to select an array of items within a list box with the specified indices.
Note
The Select
For more information about multiple selection, read the Multi-Selection Mode topic.
#Example
function OnClick(s, e) {
var arrayOfIndices = new Array();
arrayOfIndices[0] = 1;
arrayOfIndices[1] = 3;
lst.SelectIndices(arrayOfIndices);
}
See Also