Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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