Skip to main content

BootstrapClientListBox.SetSelectedItem(item) Method

Sets the list editor’s selected item.

Declaration

SetSelectedItem(
    item: BootstrapClientListBoxItem
): void

Parameters

Name Type Description
item BootstrapClientListBoxItem

A BootstrapClientListBoxItem object that specifies the item to select.

Remarks

Use the SetSelectedItem method on the client side to specify the selected item within the list editor. If a null value is passed as the parameter, no item will be selected within the editor.

See Also