View Full Version : drag-problem within nested elements

23 Feb 2011, 5:11 AM
Hello guys,

I've little problem with the drag functionality within nested elements.
A panel holds a grid-panel and both panels have a dragZone.

Now I want an inner-drag functionality for the grid and when the mouse left the grid, the outer panel should continue the drag function and the grid drag should stop.

Is it possible that the grid drag stops in addition the grid delivers the drag data to the outer panel for a further drag action?

best regards

24 Feb 2011, 1:29 AM
Is it possible that my outer panel observe the drag interaction of the inner grid?

|__ gridPanel

When the user drag an item of the grid, the outer panel should monitor the any drag interaction of the gridPanel and if the coursor is beyond the bounds of the grid, the outerPanel should be responsible for the correct drag functionality.

But how could I do this? How could I invoke the outerPanel drag?
Probably, I'm on the wrong track.