Skip to Content
0
Former Member
May 20, 2008 at 09:36 AM

Method setStyleForCell doesnt work in HTMLB-Element - NW2004

12 Views

Hello all together,

I want to implement an IView which display me some information using a HTMLB-Table Element.

In some cases I want to change the color of a row. For that I want to use the method: setStyleForCell(int row, int col, TableCellStyle style)

e.g.:

operationsTable.setStyleForCell(1,1,TableCellStyle.NEGATIVE); operationsTable.setStyleForCell(2,2,TableCellStyle.BADVALUE_DARK);

operationsTable.setStyleForCell(3,3,TableCellStyle.CRITICALVALUE_DARK);

but nothing happens if I start the IView. Each line looks equal.

I don't found some information about this behavior and the standard class documentation doesn't help me.

What can I do?

Thanks in advance.

With best regards,

Stephan