View Full Version : Window on top of Panel, drag&drop problem

21 Mar 2011, 12:48 PM

I have a panel and two windows. Both Windows contain TreePanel. I can drag nodes from the Window to the Panel and to the other Window (all have the same ddGroup). But when the drop target window is on the top of the panel, and I drop node to that window, both (window and panel) notifyDrops get fired. Why is that? I thought the window should block the drop event for the panel.

Both Windows have TreeDropZones. allowContainerDrop of TreePanel is set to true. Panel have DropTarget assigned to el.dom of panel.

Do you know, if there is a simple solution for my problem? I would be very happy, if someone could push me to the right direction.