views:

27

answers:

1

Hi,

I am trying to display rows of my tables in different colors . Please help me to achieve this. Please provide sample code to do same. Thanks.

Regards, vyankatesh

+1  A: 

Vyankatesh,

you probably saw the answers on the qooxdoo mailing list.

To sum it up here: You either create your own RowRenderer and set it via qx.ui.table.Table.setDataRowRenderer(). Or you set up a conditional CellRenderer and set it via qx.ui.table.Table.getTableColumnModel().setDataCellRenderer(). (There might be a unified way to do either through the Table or the TableModel, but I'm not aware of it).

ThomasH