The DevExpress ASP.NET Grid View (ASPxGridView) provides a number of easy-to-use data filtering options. The filter row allows end-users to filter data by entering text within its cells.
In this example, you can filter against the values stored within the underlying dataset by entering the appropriate filter criteria in the cells displayed below individual column headers.
The FilterRowMode combo box allows you to choose between two filter modes.
- In Auto filter mode, the filter is applied on the fly when an end-user types text in a row.
- In OnClick filter mode, the filter is applied by clicking the Apply button, which is displayed in a command column.
For total control over the values returned by the filter row, an optional filter row menu displays a list of filter conditions for a given search operation. This demo includes a Show Filter Row Menu check box. Once enabled, you can view this menu and apply one of the nine filter conditions to restrict your search results.
Set the Settings.ShowFilterRow property to true to display the filter row within the ASPxGridView.