How to trigger automatic sorting after the nodes on the TreeListBox are renamed

Grids for WPF Forum

Posted 3 years ago by Sunshine - Appeon
Version: 21.1.3

After renaming the tree node, it is found that the node is not sorted according to the sorting rules of the tree. How can I achieve the expected effect?

Comments (1)

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA


After you rename the node, if you call the TreeListBox.InvalidateChildren(nodeParent) method, where nodeParent is the node's parent node, does it resort the tree?

If not, please make a new simple sample project that shows the scenario and send that to our support address.  Then we will debug with that and will see how to make it work.  Reference this thread in your email and exclude the bin/obj folders from the .zip you send so it doesn't get spam blocked.  Thanks!

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.