Skip to main content

DataGridView.ClearColumnAutoFilter(GridColumn) Method

Clears the filter that is set in the auto filter row. To specify the column, pass the column object to the method parameters.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public void ClearColumnAutoFilter(
    GridColumn column
)

Parameters

Name Type Description
column GridColumn

A grid column whose filters are to be reset.

Remarks

To clear a filter for a specific column object specified by the underlying data field’s name,, 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