cancel
Showing results for 
Search instead for 
Did you mean: 

Semantic colour of Table Cell gets overwritten by Portal Theme

Former Member
0 Kudos

Hi,

In one webdynpro table, I need to show a column with Red-Amber-Green colour depending on some other column value and the colour column has no value. I have used WDTableCellDesign class constants BADVALUE_DARK (Red), CRITICALVALUE_DARK (Amber) and POSITIVE(Green) and attached it with the 'cellDesign' property of the table column to fill it with colours.

The colour shows perfect when the table row is not selected. But when the row gets selected the lead selection colour change (defined in Portal theme) overwrites the cellDesign colour and it is not possible to identify the table column colour.

My relevant Portal theme values are shown below:

complex elements->Tables->Selected Cells

Background Color of Primary Selection=#FFC54E

Background Color of Secondary Selection=#FCDD82

Background Color of Read-Only Primary Selection=#FFC54E

Background Color of Read-Only Secondary Selection=#FCDD82

complex elements->Tables->Semantic Colour

Color of Bad Value (Dark)->#F66767

Color of Critical Value (Dark)->#FBA643

Background Color of Positive Cells->#AACDA1

Can you please tell me a way to solving this problem through code and not changing the portal theme.

Regards

Arindam

Accepted Solutions (0)

Answers (1)

Answers (1)

Abhinav_Sharma
Contributor
0 Kudos

Hi Arindam,

You can not change the color of lead selction dynamically. Also , if you use another theme specifc to your webdynpro application, then portal theme will over-shadow it.

What I guess is the color of lead selction is your problem. What you can try if you change the selectionMode property of table to None, then you can avoid this problem and you can still refer your lead slection.

Regards

Abhinav