Jump to content

How to sort UniTreeView first level nodes


ana.rodrigues

Recommended Posts

Hi,

I just want to know if there is a way to sort a unitreeview, but only the parent nodes, that is, the level 0 of  a treenode.

I am populating dynamically the items of a treeview, but i need them to be sorted alphabetically, after adding. 

Can someone ever had this need of sorting a unitreeview and know how to do it?

Thanks in advance.

Ana

  • Upvote 1
Link to comment
Share on other sites

  • 1 year later...

Same here. How to sort TuniTreeNode items by text? Is this possible? I want to write a function to move a TuniTreeNode to another place in a tree. I can use TuniTreeNode.MoveTo to move a node to another node as child , but i cannot figure it out how to set the node to the right place in order of the text.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...