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