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

Grids for WPF Forum

Posted 7 months ago by Sunshine - Appeon
Version: 21.1.3
Avatar

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 7 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

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 (v22.1.1) 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.