Back to Devexpress

ASPxClientListBox.SelectItems(items) Method

aspnet-js-aspxclientlistbox-dot-selectitems-x28-items-x29.md

latest1.6 KB
Original Source

ASPxClientListBox.SelectItems(items) Method

Selects the specified items within a list box.

Declaration

ts
SelectItems(
    items: ASPxClientListEditItem[]
): void

Parameters

NameTypeDescription
itemsASPxClientListEditItem[]

An array of ASPxClientListEditItem objects that represent the items.

|

Remarks

Use the SelectItems method on the client side, to select an array of the specified items within a list box.

Note

The SelectItems 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

UnselectItems(items)

GetSelectedItems

SelectIndices(indices)

SelectAll

UnselectAll

SelectedItems

SelectionMode

Selected

List Box

ASPxClientListBox Class

ASPxClientListBox Members