cancel
Showing results for 
Search instead for 
Did you mean: 

NWDS - WDJava single cell colour on standard table

samantha_nez
Participant
0 Kudos

Hi all,

We are unable to assign a background colour on a single cell, forums just explain how to use bg colour for the whole row/column.

Is there any way to achieve this specific cell colouring?

Thanks in advance,

Samantha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Samantha,

Please check this thread [;

You can also take a look at the Table UI Element reference in docupedia: [https://cw.sdn.sap.com/cw/docs/DOC-111799]

Regards,

Aldo.

samantha_nez
Participant
0 Kudos

Hi,

Thank you very much for the links, but this only helps changing the text colour, not the background colour. Is there any way to modify it in single cells?

Thanks in advance,

Samantha

Former Member
0 Kudos

You can add a context attribute of type "TableCellDesign" (use the DDIC type, not the Java native type) to the data source node and bind the "cellDesign" property of the table column to this attribute. Then the table cell at a certain row will get the design defined by the attribute value of the corresponding context node element.