Norm Kirchner Posted November 15, 2007 Report Share Posted November 15, 2007 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. Quote Link to comment
Mellroth Posted November 16, 2007 Report Share Posted November 16, 2007 QUOTE(Norm Kirchner @ Nov 15 2007, 12:39 AM) 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. Hi Norm, you probably already know this, but if you only want to sort the Tree-items by one column, you can do that with an Invoke node. http://lavag.org/old_files/monthly_11_2007/post-5958-1195108778.png' target="_blank"> /J Quote Link to comment
Norm Kirchner Posted November 16, 2007 Author Report Share Posted November 16, 2007 Good grief. I must be really off my game. For the record. No, I didn't see that method, and yes that is what I needed. ~,~ The Captain was only here in body, his mind is elsewhere Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.