Re: [qooxdoo-devel] Table cell renderer

2010-06-29 Thread Derrell Lipman
On Tue, Jun 29, 2010 at 02:11, Nika wrote: > > I am using a table and I need some kind of special renderer for that table. > Depending on information in the cellvalue the cell should be renderered as > checkbox, image, text or bold text. So I guess I need to extend > qx.ui.table.cellrenderer.Defa

[qooxdoo-devel] Table cell renderer

2010-06-28 Thread Nika
Hi Everyone I am using a table and I need some kind of special renderer for that table. Depending on information in the cellvalue the cell should be renderered as checkbox, image, text or bold text. So I guess I need to extend qx.ui.table.cellrenderer.Default. But I am not really sure on how to d

Re: [qooxdoo-devel] table cell renderer boolean

2010-04-21 Thread Fritz Zaucker
Have you tried true/false instead 0/1 als values? If you get your data from the backend, you could convert them there. Or if you need 0/1 in the cellrenderer, you could use your own derived from qx.ui.table.cellrenderer.Boolean Cheers, Fritz On Thu, 22 Apr 2010, smisonl...@googlemail.com wrote:

[qooxdoo-devel] table cell renderer boolean

2010-04-21 Thread smisonl...@googlemail.com
Hi, i want to use a checkbox renderer and i add this renderer on my table table1.getTableColumnModel().setDataCellRenderer(2, new qx.ui.table.cellrenderer.Boolean()); table1.getTableColumnModel().setDataCellRenderer(3, new qx.ui.table.cellrenderer.Boolean()); In this table cells are 0 or 1