Hi Andrew,

I'm not an expert for the table, so I don't know the implementation.

When you are using the normal Drag[1] event you can use getDocumentLeft() and getDocumentTop() to get the x/y coordinates from the event.

Hope this helps.

Cheers,
Chris

[1] http://demo.qooxdoo.org/current/apiviewer/#qx.event.type.Drag

Am 06.04.2011 13:24, schrieb Andrew Manson:
Hi,

I've been trying to develop a drag and drop solution for a Table where we a user can drag a series of "selection" objects onto the table to assign it to a particular column. I have seen that there is a table column model that has the functionality to decipher which column a particular X Y coordinate is on, which is exactly what I needed! Great! But now I'm coming to the drag/drop part of the implementation and I'm a little confused... is there no way to figure out what the X Y coordinates of a drop event is?

Can someone please direct me to the documentation on how to get the X Y coordinates out of a drop event, or at least some example code. Even if someone could reassure me that it is possible to get a coordinate out of a drop event that would be helpful and I can keep looking.

Cheers,
- Andrew

-----------------------------------------
Andrew Manson
Graticule Cloud Applications <http://www.graticule.com/services/cloud-computing>
www.graticule.com <http://www.graticule.com>



------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to