Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
849
Root node in UltraTree
posted

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

Parents
  • 469350
    Suggested Answer
    Offline posted

    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);

Reply Children