PDA

View Full Version : Question on drag/drop of grids



NotChris
21 Feb 2008, 12:52 PM
I have setup a Ext.Window which contains three grids in various regions in the window. My question is how can I drag one of the grids and drop it so it is displayed on top of another grid? Besides setting draggable to true, what else needs to be done? Right now, upon dragging the grid and dropping, it gets snapped back to the region it was in.

NotChris
21 Feb 2008, 2:41 PM
From what I have read in the tutorials, they mainly deal with drag and drop between widgets rather than the drag of windows themselves. Does each gridpanel need to have a dropzone defined for it as well as an event to handle the drop? If so, how would you define the dropzone as any part of the window?