Skip to main content
A newer version of this page is available. .

GridColumn.ClearFilter() Method

Clears filtering applied to the column.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public void ClearFilter()

Remarks

The filter condition applied to a column is specified by the column’s GridColumn.FilterInfo property. The ClearFilter method resets this property setting to clear the applied filter. Note that all column filter settings are lost as a result.

To learn more about filtering in Grid Views, review the Filtering help topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClearFilter() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also