Hi there everyone,
I want to delete a node in a VirtualTreeView using the node's index. I know how to delete the node using the FocusedNode like this
VST.DeleteNode[VST.FocusedNode]
However, in my use case, the node should only be deleted after the corresponding record has been deleted in a remote database. As this can the delayed due to network problems, a user might click elsewhere in the VirtualTreeView or the form and there is no guarantee that the actual focused node is the same node the user wanted to delete earlier. So I want to save the node's index and then use that index to remove the node from the VirtualTreeView. Something like this
How do I get the numerical index of the focused node?
Thanks,
JD