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
460
Adding Nodes in UltraTreeView
posted

How can I add specifically add a node(cild or sibling) in UltraTreeView?

It seems that ThisUltraTreeView.Nodes.Add(ThisValue) is only adding a node as another parent Node.

Im trying to add a sibling and child node?

How can I do this?

Parents
No Data
Reply
  • 565
    Suggested Answer
    posted

    When you add a node to ThisUltraTreeView.Nodes, parent node is created. To add child for a parent node, add child node to the parent node, not to the tree control.

    ThisUltraTreeView.Nodes[0].Nodes.Add(ThisValue) - will add child node to 0th node of the tree control.

    Hope this help you.

Children
No Data