Nested Drag And Drop Problem

Hi,

I want to realize a drag-and-drop szenario with nested elements - imagine some GUI-Builder. For instance I want a horizontal layout and inside this some vertical layout. Then the inner layout should be draggable as well as the outer layout.
But there seems to be a bug in VDragAndDropWrapper which prevents the user to drag a draggable component inside of a draggable component. I’m thinking that the drag-event propagation has to be stopped and not only preventing the default behaviour.

Before I open an bug I want to make clear if this is intended behaviour or not.

Regards,
Sascha Broich

Same effect here (vaadin 6.8.1). My use case is some kind of dashboard that has movable widgets (component based drag and drop). Some widgets want to make use of component based drag and drop themselves, but the complete widget is moved instead.

Interestingly, if the widget does not use component based drag and drop but data based drag and drop (table in my case), it works as expected. When dragging table rows, the table drag and drop is activated, when dragging outside the table, the component based drag and drop of the dashboard widget is activated.

Btw. I was looking for information about drag and drop support in vaadin 7. From http://dev.vaadin.com/ticket/8549 I deduce that drag and drop is still there, but neither http://dev.vaadin.com/wiki/Vaadin7 nor https://vaadin.com/wiki/-/wiki/Main/Vaadin+7 have information. Will the API stay the same or are there changes planned?

Have you guys checked out the
DragDropLayouts
addon?

For instance the Vaadin Visual Designer uses it to simplify handling drag and drop in nested layouts.

Hi experts,

For my situation, I am not able to use add-on freely on my project, so I’m trying to use table (as nested drag n drop) within drag n drop layout. But there will be a problem if I use generated column (customize layout) instead of default one, I’m unable to drag row that is customized by using layout. After some research, I found out https://dev.vaadin.com/ticket/6623 which may be the reason. Do you have any suggestion or work around for case: drag n drop customized table row ?

Thanks in advanced,
Tam Nguyen Minh