Jump to content

Tree Element Sort by Column


Recommended Posts

I have a tree that only has 2 genereations, top level parent items and their children (will never change)

I am attempting to sort by column, and I've got it figured out how the children need to be re-arranged, but I am not seeing an easy way to re-arrange the children. and deleting and re-inserting is not an option because of the variety of properties associated with a specific element.

Does anyone know how to programatically move an item in a tree?

So I found how to move an item in a tree programatically, and that's what all the strikeout is above. {found 6.45 seconds after hitting submit post}. But in the spirit of sharing, I'll post my code for the "tree - sort-by-column" code here once done.

Link to comment

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...

Important Information

By using this site, you agree to our Terms of Use.