Skip to main content

GridControl.ClearFilter() Method

Clears the filter applied to data in the grid.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public void ClearFilter()

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

Use the ClearFilter method to clear the grid filter, including both column auto filters (GridColumn.AutoFilterValue) and grid filter expression (GridControl.FilterString, GridControl.FilterExpression).

To get a string that specifies the grid’s current filter, use the GridControl.ActualFilterString property.

See Also