Hi devs,

want to know how to toggle boolean cells with just one click. I need 3
clicks to toggle my cell in table.

My snipplet:

var tcm = table.getTableColumnModel();

tcm.setDataCellRenderer(0, new qx.ui.table.cellrenderer.Boolean());
var propertyCellEditorFactory = new
qx.ui.table.celleditor.Dynamic(function(){return new
qx.ui.table.celleditor.CheckBox();});
tcm.setCellEditorFactory(0, propertyCellEditorFactory);

regards Sak


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to