Hello,
I'm setting up an UltraTree bound to a binding source. This binding source is itself bound to an object which contains several generic collections.
What I would like to do is add a root node and customize the label for the nodes corresponding to the collections of my object.
Can anyone help me?
Thanks,
Damien
HI Damien,
You can bind the tree on any particular level you want using the SetDataBinding method on the Nodes collection.
So you could add a root node to the tree, or even several nodes, and then bind the child nodes of that node using something like this:
node.Nodes.SetDataBinding(myDataSource, myDataMember);