PDA

View Full Version : move nodes to other sibling



benny_GI
3 Jun 2014, 7:05 AM
hallo,

i have a tree, like this:
house 1
> group 1
>> user 1
>> user 2
>> user 3
> group 2
>> user 4
>> user 5

Now i want to move the node for example 'user 5' and 'user 4' from 'group 2' to 'group 1' , without drag'n'drop.
How can i do this, who knows? Let me know, please.

Gary Schlosberg
6 Jun 2014, 3:35 PM
As far as I know you need to remove the node from the old location and add it to the new one.
http://www.sencha.com/forum/showthread.php?140472

benny_GI
6 Jun 2014, 11:22 PM
dear gary, thanks for your post, but i haven't permission to access your link.

benny_GI
7 Jun 2014, 3:49 AM
hello everybody,

i tried to do an example: https://fiddle.sencha.com/#fiddle/5pj
note for the fiddle: work with 4.2.1 API

my problem now: when you click on the 'move node'-button, only some nodes become move.
help me, to solve the problem, please