Skip to main content
All docs
V24.2

ITreeList.SelectDataItem(Object, Boolean) Method

Selects or deselects a row that corresponds to the specified data item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

void SelectDataItem(
    object dataItem,
    bool selected = true
)

Parameters

Name Type Description
dataItem Object

The data item.

Optional Parameters

Name Type Default Description
selected Boolean True

true to select the row; false to deselect the row.

Remarks

Refer to the SelectDataItem(Object, Boolean) method description for more information and an example.

See Also