Some time ago when qx went from 3.5 to 4 click events in Table (and
everywhere) were changed to cellTap events.   I noticed at the time on the
list there were issues in the List and other places with drag and drop a
result of this change which now seem to be resolved. At the time I cobbled
together a few workarounds to get the table to behave correctly as it was
also affected.    The basic problem is:

As cellTap changes the item selection to the mouseUp rather than mouseDown, 
the item is not selected when dragging begins unless it was explicitly
clicked on first before the drag.  Going by the demo browser the List
solution appears to be; grab the drag item from e.getDragTarget() and ignore
the selection.  This doesn't work for the table as we get the entire table
Pane object instead which gives no clues as to what is being dragged.

The only way I have around this is to manipulate setFocusCellOnPointerMove()
in such a way as to trigger the selection based on the focus which isn't
perfect.   Is there a cleaner solution here?





--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Table-drag-drop-and-cellTap-event-tp7587777.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Give your users amazing mobile app experiences with Intel XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2-D/3-D games for multiple OSs.
Then get your creation into app stores sooner, with many ways to monetize.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to