Is there a way to add child nodes to an existing UltraTree without having to rebuild the tree in c#? ie. refresh specific node, etc
Before:
ParentNode
-ChildNode
--ChildChildNode1
After
--ChildChildNode2
Rich,
Here is a sample application which illustrates adding a child node in code. You have to have a reference to the parent node. In this case my nodes had keys and I used the GetNodeByKey method to get a reference to the node to which I added a child node. I hope this is helpful. Let me know if you have further questions.
Hi Rich,
I'm not sure I understand what you are asking. Of course you can add nodes to the tree at run-time. You just use the Nodes collection's add method. I don't know what you mean by "refresh specific nodes" or "rebuild the tree".