[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Collapse]Tree List
   [Expand]Product Information
   [Collapse]Feature Center
    [Expand]Data Binding
    [Expand]Nodes
    [Expand]Data Editing
    [Expand]Data Presentation
    [Expand]Sorting
    [Collapse]Filtering
      Filtering in Code
      Classic Style
      Excel Style
      Pop-up Filter Menus
    [Expand]Summaries
    [Expand]Appearances and Look And Feel
    [Expand]Focus, Selection and Navigation
     Formatting Cell Values
    [Expand]Miscellaneous
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End User Capabilities
   [Expand]Member Tables
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Pop-up Filter Menus

Demo

Run the XtraTreeList demo to see the filtering functionality in action.

Expanded How to: Enable/Disable Pop-up Filter Menus

Users can filter data in a tree list using pop-up filter menus. To disable this feature, use the TreeList.OptionsCustomization.AllowFilter property (see TreeListOptionsCustomization.AllowFilter). To override this setting for a particular column, use the TreeListColumn.OptionsFilter.AllowFilter property (see TreeListOptionsColumnFilter.AllowFilter).

To invoke a pop-up filter menu, click a column's filter button . In code, use the TreeList.ShowFilterPopup method.

Expanded Styles: Excel and Classic

Pop-up filter menus support two styles.

  • Excel (default) — Microsoft Excel®-inspired menus whose interface changes depending on the data type. See Excel Style for more information.
  • Classic — regular lists of available values. See Classic Style for more information.
To specify the menu style:
See also

The Pop-up Filter Menu's Visual Elements topic contains the table of options that affects menu appearance and behavior.

Expanded Modes: Effect of Parent Nodes on Filtering

The TreeList.OptionsFilter.FilterMode property (see TreeListOptionsFilter.FilterMode) specifies whether to show a node that matches the current filter, regardless of whether its parent nodes also match the filter. If parent nodes should not match the filter and should not display the node, you can specify whether these parent nodes are displayed.

Mode

Description

Default The same as: For version 16.1 and later, the default is Standard. See Version Compatibility: Default Property Values for details.
Extended
Nodes that match the applied filter are displayed regardless of whether their parent nodes fit the filter.

Unlike Smart mode, if a node matches the applied filter, all its parent nodes are also displayed, even if they do not fit the filter.
Smart
Nodes that match the applied filter are displayed regardless of whether their parent nodes fit the filter.

Unlike in Extended mode, if parent nodes do not match the filter, they are not displayed.
Standard
Nodes that match the applied filter are only displayed if their parent nodes also fit the filter.

If a node fits the filter, but any of its parent nodes do not, the node is not displayed.

Expanded See Also

Is this topic helpful?​​​​​​​