PDA

View Full Version : Dragging from grid to tree



oregontarheel
26 Apr 2007, 2:44 PM
I have a grid and a tree control set up in my application, using the same ddGroup. They appear to be working together (when I drag objects from the grid to the tree, the drop indicator shows the correct icon for valid and invalid nodes of the tree). However, when I drop a row onto a tree node, it doesn't fire the dragdrop event. When I drag elements around in the tree, the event gets fired, but not when the dragged item comes from the grid. I originally thought I was going to need to extend the dropZone class, is that the case here? It seems as if it's oh so close to working without it.

mcg1103
28 Oct 2007, 1:42 PM
I posted my solution to this problem on this thread.

http://extjs.com/forum/showthread.php?t=12912