glassy
11-14-2007, 02:01 PM
Hi,
I'm trying to use Ext drag&drop classes in my web app.
I've read the custom/advanced drag & drop tutorials and have based my code similarly to them.
My problem is, I want to use the Ext.dd.Registry.register way to specify the draggable/droppable elements, but it is not working the way I expected.
See (with firebug):
http://www.viquagames.com/ext/ddtest2.htm
When any item is dragged, the bottom most item is dragged instead.
If I override getDragData to specify the draggables, the DragZone works:
http://www.viquagames.com/ext/ddtest3.htm
But in both cases, the DropZone isn't doing anything (it should output 'over...' to the console).
I've been trying to understand how these classes work for half a day now. I think I almost got it but I'm probably missing something.
Any help greatly appreciated!
Umm oops, this is Ext 2.0 .. wrong forum, could a Mod move it for me?
I'm trying to use Ext drag&drop classes in my web app.
I've read the custom/advanced drag & drop tutorials and have based my code similarly to them.
My problem is, I want to use the Ext.dd.Registry.register way to specify the draggable/droppable elements, but it is not working the way I expected.
See (with firebug):
http://www.viquagames.com/ext/ddtest2.htm
When any item is dragged, the bottom most item is dragged instead.
If I override getDragData to specify the draggables, the DragZone works:
http://www.viquagames.com/ext/ddtest3.htm
But in both cases, the DropZone isn't doing anything (it should output 'over...' to the console).
I've been trying to understand how these classes work for half a day now. I think I almost got it but I'm probably missing something.
Any help greatly appreciated!
Umm oops, this is Ext 2.0 .. wrong forum, could a Mod move it for me?