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
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
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:
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