Hi,
When we click certain nodes in our FlyTreeView control, sometimes we need to modify the tree such that we add or delete nodes.
We are able to do this as needed. However, there is a big problem:
After the new tree has been received (but the old tree is still visible), while it is being rendered, if the user clicks on nodes, it completely breaks our app because it appears to cause a couple of different problems. (We have many nodes....thousands to the rendering takes some time.)
Everything works if the user waits for the tree to be refreshed in the browser if needed.
So, to work around this we would like a way to know that the tree is rendered or refreshed so that we can ignore clicks on the tree that happen during the the refresh.
How can we do this?
Can we disable the tree control before we send the request (and then enable later)? If so, how?
Can we be notified when rendering starts and ends? If so, how?
Are there other ideas?
Thank you