From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I have a set of tree controls that can be interacted with. I have some methods of pasting stuff which adds a row to the tree, but the method I was using was to delete the whole tree, then make the tree all over again. There are obviously better ways to do this, but one issue with it, is that the tree will scroll all the way to the top, but the newly pasted item will be selected. This wasn't a great user experience so I made something real quick that will scroll a tree and show a selected item. It's just a quick demo and can be improved, but I thought I'd share it in case others find it useful. Just keep running the VI and it will show and select a random item in the tree.