Skip to main content

GridView.ResetAutoFilterConditions(IEnumerable<GridColumn>) Method

Resets the specified columns’ auto filter row conditions to their default values.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

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


public virtual void ResetAutoFilterConditions(
    IEnumerable<GridColumn> columns


Name Type Description
columns IEnumerable<GridColumn>

An array of GridColumn objects that specify the grid columns whose auto filter row conditions are to be reset.


Use the ResetAutoFilterCondition(GridColumn), ResetAutoFilterConditions(IEnumerable<GridColumn>), and ResetAutoFilterConditions() methods to reset auto filter row conditions.

using DevExpress.XtraGrid.Columns;

// Reset the Phone column's auto filter row condition.
// Reset the Phone and Fax columns' auto filter row conditions.
gridView1.ResetAutoFilterConditions(new GridColumn[] { colPhone, colFax });
// Reset all columns' auto filter row conditions.
See Also