Skip to main content

DataGridView.ClearColumnAutoFilter(String) Method

Clears the filter that is set in the auto filter row. To specify the column, pass its underlying field’s name to the method parameters.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public void ClearColumnAutoFilter(
    string fieldName
)

Parameters

Name Type Description
fieldName String

The name of the data source field used to create the column.

Remarks

To clear a filter for a specific column object, use the DataGridView.ClearColumnAutoFilter(GridColumn) overload.

Call the DataGridView.ClearColumnFilter method to reset filters that are set with the FilterString or FilterExpression properties.

Use the DataGridView.ClearFilter method to reset the filter for all grid columns.

Refer to the following topic for more information on how to filter grid data: How to Filter Rows in DevExpress Data Grid for .NET MAUI.

See Also