vicmart69
asked on
Move a nodewith its subnode up/down in a treeview
Hi,
For example a treeview:
A
B
C
..D
....E
F
I would like to move for example C and its subnode just after A with a click of a button. I'm already configured for drag and drop so I can change parent, but I just can't figure out how to move higher or lower (personalised sorting)
Thanks,
Martin
For example a treeview:
A
B
C
..D
....E
F
I would like to move for example C and its subnode just after A with a click of a button. I'm already configured for drag and drop so I can change parent, but I just can't figure out how to move higher or lower (personalised sorting)
Thanks,
Martin
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I first tried arif eqbal solution on a blank project and it worked perfectly. however I haven't been able to make it work in my program (??) .. always had "argument is not valid value: index". So I went for Idle Mind solution and it worked.
Your help is greatly appreciated.