ColumnView.ApplyColumnsFilter() Method
Enables the filtering functionality.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
Remarks
This method sets the ColumnView.ActiveFilterEnabled property to true and thus enables the filtering functionality.
By default the filtering functionality is enabled and if filter criteria are set the View displays only those records from the data source which meet the criteria. Otherwise, the View displays all the records from the underlying data source. To temporarily disable the filtering functionality, the ColumnView.ActiveFilterEnabled property can be set to false.
Use the ColumnView.ActiveFilter object to get the filter criteria applied to the View.
An end-user can enable/disable the filter criteria by toggling the checkbox within the Filter Panel.