WebDataSelection.SetSelectionByKey(Object, Boolean) Method
Selects or unselects the specified row within the ASPxGridView.
Namespace: DevExpress.Web.Data
Assembly: DevExpress.Web.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
keyValue | Object | An object that identifies the data row by its key value. |
selected | Boolean | true to select the row; otherwise, false. |
Remarks
To identify whether the specified row is selected, use the GridViewSelection.IsRowSelected method.
See Also