Version

WinTree 2005.2

Multi-Column Support

The WinTree™ now supports the ability to display multiple columns of data. The ViewStyle determines how the columns are displayed and includes the following three column styles. For more information on the view styles, see Styles of WinTree.

Outlook Express Style

When set to OutlookExpress, a single set of column headers is displayed at the top of the control based on the RootColumnSet property. All nodes display their cell values within these columns. This style is commonly used when the entire tree will display homogenous data although it is possible to assign different columnset for nodes and indicate which column in the root columnset, the column should be displayed within.

outlook express style in ultratree

Grid Style

When set to Grid, column headers are displayed at the top of each nodes collection. This would commonly be used when the nodes collection contains a homogenous set of data but the data is not homogenous through the entire tree.

grid style in ultratree

FreeForm Style

When set to FreeForm, each node will have its own set of column headers. This style would commonly be used when the nodes within a nodes collection have a different structure.

freeform style in ultratree
Note
Note

There is also a value of Standard which provides the functionality available in the previous versions whereby columns are not displayed.

Limitations of Multi-Column Support

  1. This initial addition of functionality includes only reading data. The Tree is essentially a navigational tool, so no data is written back to the data source.

  2. Cut/Copy/Paste operations when the WinTree has bound nodes is not supported.

  3. Adding/Deleting nodes to a nodes collection that is bound:

    • Adding Nodes to a bound nodes collection is not allowed.

    • You can add a unbound child node to a bound node.

  1. Using the F2 key to drop a node into edit mode is not allowed in a bound tree.

DataBinding Support

The UltraTree now supports the ability to bind the tree or a specific nodes collection. The DataSource and DataMember properties of the control can be used to bind the root nodes collection. In addition, the SetDataBinding method of an unbound node’s Nodes collection can be used to bind the collection to a datasource providing the ability to display bound data nodes under unbound nodes.

data binding support in ultratree