The DevExpress WinForms Tree List is a hybrid control that allows you to display data as a tree, a grid, or a combination of both, regardless of data complexity. The Tree List can be used in either bound or unbound mode, with full support for data editing and validation. Since it includes grid functionality, you can also sort, filter and search for data, as well as calculate summaries using aggregate functions. Like other DevExpress WinForms controls, the Tree List fully supports DevExpress skins, so that you can customize the appearance of your application.
Refer to the following links for detailed info.
Learn the Basics
This section includes articles that cover essential Tree List control terms and techniques.
Demonstrates all UI elements provided by the Tree List control.
Nodes
The Tree List control displays records of the associated data source by means of nodes. Nodes, however, can be much more complex than a number of cells displaying dataset field values. The documents in this section describe the term “node”, and provide information on how to perform operations on nodes.
This topic shows how to create custom nodes and use them in your Tree List control.
Columns
The Tree List control displays data by means of nodes and columns. Nodes correspond to individual records, while columns represent data source fields. This section contains description for columns themselves and elements related to the column layout - bands and preview sections.
Bands are visual and logical groups into which you can arrange columns. You can hide, display and reorder bands along with their child columns. This document describes the band features, how to anchor bands and how to organize them into a hierarchical structure.
Preview sections are regions below Tree List records, stretched across the entire node width. These regions are non-editable and designed to display large memo fields or custom data for a given record.
You can activate this visual style to imitate the appearance of the standard TreeView control. The TreeView style is supported in single-column and multi-column modes.
Data Binding
This section contains all required info related to binding the Tree List control to various data types, as well as operating in unbound mode.
This page covers unbound columns, which help you display custom data within the Tree List control. These columns are not bound to fields in the data source, and data for these columns needs to be provided using expressions or a dedicated event.
Data Editing
Articles in this section demonstrate different data editing approaches supported by the Tree List control.
Learn how to ‘teach’ your Tree List to respond to activating and closing in-place editors. The topic also provides info on displaying and closing cell editors manually.
Sorting
Topics in this section provide information about sorting Tree List data against specific columns.
Learn how to implement custom sorting algorithms for individual columns.
Filtering
Data filtering is an essential requirement for most software applications. The Tree List Suite is packed with numerous filtering features, so that you can deliver a solution that best meets your customer’s requirements.
The simplest end-user filtering tasks can be accomplished using Filter Dropdown Lists. These lists mimic the filtering UI implemented in Microsoft Excel.
With this dialog, you will be able to build filter criteria of any complexity - create any number of conditions and combine them in any manner using any logical operator.
Filtering using an event allows you to create a filter of any complexity, and hide any nodes you want from the screen.
Summaries
The Tree List control provides a summary feature for calculating the value of an aggregate function over column values. This section lists the available summary types and describes methods of formatting the displayed summary. It also contains a brief description of end-user capabilities for configuring and using summaries.
Learn how to format a summary’s text and change the appearance of summary values.
Formatting Cell Values
The Tree List gives you the ability to format column values in display mode (when in-place editors are not active). This section lists which members can be used to format values, provides links to the documents that describe the formatting mechanism and provides task-based examples.
Format specifiers are symbols that specify the way data is formatted during its conversion to a string. This topic describes frequently used standard and custom format specifiers used to format numeric and date/time values.
The Custom Formatting feature allows you to format values that are neither numeric nor date/time and implement complex formatting of numeric or date/time values.
The Tree List provides context menus for its elements that contain most used commands. There are context menus for column headers, group summary footers and the total summary footer. This section contains information on these menus and shows how to extend their capabilities.