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
4165
How to set node position after removing a node?
posted

Sorry, last tree question...currently changing out our .NET tree's to the UltraTree.

on a node removal how can I make it go the first previous node instead of the next node? I currently have it like this, but was hoping maybe there was a setting on the tree itself:

utvProjectView.ActiveNode.Remove();

utvProjectView.ActiveNode = utvProjectView.ActiveNode.PrevVisibleNode;

 

Thanks.

  • 4219
    Suggested Answer
    posted

    Hi,

    The ultraTree control behaves as the Microsoft treeView. So by default you couldn’t change the direction of the selection when removing nodes.

    Please let me know if you have any other questions.

     

    Sincerely,

    Stefaniya