View Full Version : Two trees: dragdrop from grid

4 Dec 2009, 7:40 AM
Hello everyone,

I have defined two different TreePanels with different data on them.
I have setup drag and drop on both trees so I can rearrange nodes on them.
I want to be able to drag and drop from a grid to these trees.
I have setup a 'beforenodedrop' event for the 1st tree that works just fine when I drag from the grid.

Here's what goes wrong:
When I drag from the grid to the 2nd tree, it should not allow me as the 2nd tree has a different ddGroup assigned. What is even stranger is that it allows me to drop from the grid but only to random specific nodes only. When I drop the grid row(s) to the 2nd tree, the 'beforenodedrop' event on the 1st tree is fired!

Any clues would be really helpful.

4 Dec 2009, 8:00 AM
can't do much until we get a reproducable case ;(