This demo illustrates the DevExpress MVC Filter Control (FilterControl) that emulates the built-in filter.
In this demo, specify the filter criteria and click Apply. This calls the Filter Control's Apply client method and raises the filter extension's Applied client-side event to filter the GridView data.
The GetFilterExpressionInfo method returns filter criteria information (MVCxFilterControlExpressionInfo) in the controller.
This Filter Control extension automatically creates all columns (including embedded) if you use a strongly typed extension (Html.DevExpress().FilterControl<ModelType>(...)). You can use the MaxHierarchyDepth property to specify the maximum number of nested levels in the filter control. You can also add hidden columns to the Filter Control extension’s Columns collection.