Hi John,
> I'm using a Table component for the first time and can't see how to make it
> so that tab will move the user between cells for editing; is there a simple
> solution to this or should I roll my own?
>   
The table does not have this feature so you will have to roll your own.
> If it's a case of rolling my own then I have another question: I've tried
> calling qx.ui.core.FocusHandler.getInstance().addRoot(myTable) and expected
> the tab to move focus to the table but to never move it out but it seems to
> have no effect - what have I done wrong?
I would try to handle "tab" key events directly in the table and not 
using the focus manager for this. What you basically have to do is 
creating a derived table class, which adds a keypress listener for the 
"tab" key. There you can move the focused cell and start/stop editing of 
this cell. Take a look at the table's current keypress handler 
qx.ui.table.Table._onKeyPress(e).

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
fabian.jak...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to