This demo illustrates how end-users can build complex filter criteria with an unlimited number of filter conditions and logical operators by using the built-in Filter Control within the DevExpress ASP.NET MVC Vertical Grid. You can activate the Filter Control by clicking the image or filter expression link displayed within the Filter Bar displayed at the bottom of the grid.
The following properties (available through the SettingsFilterControl property) allow you to customize Filter Control functionality.
- The ViewMode property specifies how a filter expression is displayed in the Filter Control: either visual representation only, or visual representation with the text filter expression editor.
- The AllowHierarchicalColumns property specifies if the Filter Control can display hierarchical rows. The max hierarchy depth level can be limited by using the MaxHierarchyDepth property.
- The ShowAllDataSourceColumns property specifies which rows are visible in the Filter Control: all data source rows or only the rows that are visible in the grid.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxVerticalGridDemos