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.
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.
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.
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.
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.
Cut/Copy/Paste operations when the WinTree has bound nodes is not supported.
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.
Using the F2 key to drop a node into edit mode is not allowed in a bound tree.
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.