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(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

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