PDA

View Full Version : TreePane and Drag & Drop



Duranne
29 Sep 2010, 6:40 AM
Hi,

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 :

/home
- mail
- doc
/pictures
- my pic 1
- my pic 2
/audio
- 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