Gaetan de Menten schrieb:
> On Thu, Feb 14, 2008 at 9:40 AM, Tobias Koller (GERMO GmbH)
> <[EMAIL PROTECTED]> wrote:
>
>   
>> is it possible to edit the value of a cellEditor with a single mouse-click?
>>
>> Now it's necessary to doubleClick a cell before I can edit the value.
>>     
>
> I'd personally like if this was possible to edit a checkbox in a table
> directly: a simple click (or press on space bar while the cell is
> highlighted) would change the value directly, instead of first needing
> to enter "edit mode" by double clicking on it.
>   
Especially for the check box there is a different solution. You can mark 
the columns as non editable and listen for cell click events for that 
column. From the event object you can get the cell coordinates and 
update the cell's table model. You can see this life at gmx.com in the 
mail filter table (you need an gmx.com account to see it). If you add a 
mail filter, you can switch it on or off using such a checkbox 
implementation.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to