Sort by name looses expanded nodes state
Brought to you by:
agaman
Steps to reproduce:
1) Open TreeViewAdv sample application.
2) Navigate to ”FolderBrowser” tab.
3) Expand some nodes of the tree.
4) Click on the Name column.
Expected result: all the tree nodes are sorted by name and the already expandsed nodes are still displayed expanded.
Actual result: Nodes are sorted, but the nodes that were expanded are now collapsed.
Yes this is a bug.
Solution can be find in the first part of this post:
https://sourceforge.net/projects/treeviewadv/forums/forum/568369/topic/3355734
(second part of the post is resolve by rev 76)
I've created a patch based on Inicots code from the forum: https://sourceforge.net/tracker/?func=detail&aid=3158083&group_id=166562&atid=839505