Skip to main content

IGrid.SelectDataItem(Object, Boolean) Method

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.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 method description for more information and an example.

See Also