In looking at the source code for qx.ui.table.celleditor.CheckBox in function
createCellEditor(), it appears that the solution is the addition of a blur
listener on the form checkbox that is created like so:

          checkbox.addListener( "blur", function(e)
          {
                  this.table.stopEditing();
          }, cellInfo );

This appears to have the desired effect that when a component receives the
focus outside of the editing table, the editing is considered complete.

I created a custom qx.ui.table.ICellEditorFactory class called
"my.TableCheckBox" by just copying the source into a new file and adding the
line of text above.  This works fine as far as I can tell without undue side
effects.

             table.getTableColumnModel().setCellEditorFactory( 1, new
my.TableCheckBox() );

BTW, I also filed a bug.  It seems like it is one.



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Table-checkbox-focus-not-caught-bug-tp7581322p7581323.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to