View Full Version : TreePane and Drag & Drop

29 Sep 2010, 6:40 AM

I have an Ext.tree.TreePanel and I would like to manage the Drag and Drop between the childs of this tree.

For example, if my tree looks like :

- mail
- doc
- my pic 1
- my pic 2
- my track 1
- my track 2

where config of the childs "home", "pictures" and "audio" is set to : leaf : false
and the other nodes are set to : leaf:true

I would like to be able to drag & drop the childs of the 'pictures' node to the 'home' node but not to the 'audio' node.

Is it possible to do that, and if it is, how can I do that?

Thank you