Hi List,

I am using qx 0.6.5, and I want to create some editable booleans (checkboxes) 
within a table.


Firstly a question:

Does anyone know whether the CheckBoxCellEditorFactory is usable in the 0.6.x 
version of qx?  I don't see any examples or references to it elsewhere in the 
code.




Secondly, an observation:

Although I'm fairly sure that this isn't the "recommend" way to use the table 
API, it is possible to make a column rendered by the BooleanDataCellRenderer 
editable.

Doing so introduces a problem: editing the checkbox-image cell causes it to 
disappear from view completely.

This behaviour occurs in IE and FF, and in qx 0.6.5 and 0.7.2.

In 0.6.5 the "bug" is in qx.ui.table.BooleanDataCellRenderer.
In 0.7.2 the "bug" is in qx.ui.table.cellrenderer.Boolean.

In both versions the code is the same.  This problem is that the switch 
statement doesn't consider the String value "true" to be equivalent to the 
boolean value true, so it falls through to the default case regardless of what 
the user types in.


It would be relatively simple to patch the source code so that it is a little 
more forgiving, or to throw a warning to tell the developer that some 
unexpected input was passed.  Or perhaps it would be better to make it 
impossible to set a BooleanDataCellRendered cell editable if this is the real 
intention?


Thanks all,

Simon





      Sick of deleting your inbox? Yahoo!7 Mail has free unlimited storage.
http://au.docs.yahoo.com/mail/unlimitedstorage.html


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to