Skip to main content

ASPxClientCheckBoxList.SelectIndices(indices) Method

Selects items with the specified indices within a check box list.

Declaration

SelectIndices(
    indices: number[]
): void

Parameters

Name Type Description
indices number[]

An array of integer values that are the item indices.

Remarks

Use the SelectIndices method to select items with the specified indices within a check box list. To unselect items specified by their indices, use the ASPxClientCheckBoxList.UnselectIndices method.

Additionally, you can select items by their values (ASPxClientCheckBoxList.SelectValues), directly (ASPxClientCheckBoxList.SelectItems), or select all items within the control (ASPxClientCheckBoxList.SelectAll).

To obtain indices of the selected items, use the ASPxClientCheckBoxList.GetSelectedIndices method.

See Also