The DevExpress ASP.NET Tree List (ASPxTreeList) provides 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:
- Auto filter mode - the filter is applied on the fly when an end-user types text in a row.
- OnClick filter mode - an end-user applies the filter by clicking the Apply button, which is displayed in a command column.
For total control over the values the filter row returns, 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 refine your search results.
Set the Settings.ShowFilterRow property to true to display the filter row within the ASPxTreeList.