The WPF TreeGrid control provides support to filter nodes with an intuitive, built-in, Excel-like filtering user interface with various filter-level options. It’s also possible to filter nodes in code-behind. Sort the columns in ascending or descending order easily using the filter UI itself. You can perform display-text based filtering and customize the behavior of the UI filtering by writing custom UI filter controls.
An Excel-inspired filter UI filters nodes. The filter UI contains a CheckedListBox for selecting items so users can filter nodes easily.
Users can filter nodes easily using multiple options provided in the filter UI. Built-in filter types:
Text filter menu options are loaded when the column’s underlying property is string or dynamic. The following options are available:
When the column’s underlying property is integer, double, short, decimal, byte, or long, number filter menu options are loaded. The following number filter options are available:
Load various date filter options when the column’s underlying property is date-time. The date-time can be selected intuitively using a date picker. The following date filter options are available:
You can allow users to update filters immediately whenever updating the filter UI pop-up.