Skip to main content

DataGridView.ClearColumnFilter(GridColumn) Method

Resets FilterString or FilterExpression applied to the column object passed in the method parameters. The method does not reset a filter set using the Auto Filter Row.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public void ClearColumnFilter(
    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, call the DataGridView.ClearColumnFilter(String fieldName) method.

Use the DataGridView.ClearColumnAutoFilter method to clear filters that are set in the auto filter row.

Call 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