|
In addition to filters executed via the column header, the DevExpress MVC Grid View allows you to enable filtering via its “Filter Row” UI element. When active, the Filter Row allows end-users to filter grid data by entering text within its cells or by selecting values from its dropdown lists.
To display the Filter Row within the Grid View, set the Settings.ShowFilterRow property to true.
In this demo, the Settings.ShowFilterRowMenu property is also enabled so that end-users can specify filter conditions via a menu. This menu can be invoked by clicking the Filter Row button displayed within Filter Row cells.
Once a filter has been applied, it can be cleared by pressing the Clear button within the Filter Row. Use the ClearFilterButton.Visible property to activate this feature.