Skip to main content

ColumnView.ClearColumnsFilter() Method

Removes any filter conditions applied to the View’s columns.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public virtual void ClearColumnsFilter()

Remarks

The ClearColumnsFilter method clears the filter conditions applied to the View’s columns.

If the filter criteria only needs to be temporarily disabled set the ColumnView.ActiveFilterEnabled property to false. To get the current filter criteria, use the ColumnView.ActiveFilter property.

Refer to the Filter and Search topic for more information.

See Also