WebDataSelection.UnselectAll() Method

Clears selection in the ASPxGridView.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v19.2.dll

Declaration

public void UnselectAll()
Public Sub UnselectAll

Remarks

To select all data rows within the grid, use the WebDataSelection.SelectAll method.

WebForms:

protected void UnselectButton_Click(object sender, EventArgs e) {
    gv.Selection.UnselectAll();
}

MVC:

settings.Click = (s, e) =>  
{  
    GridView1.Selection.UnSelectAll();  
}; 

On the client side, you can use the UnselectRows method.

grid.UnselectRows();
See Also