cancel
Showing results for 
Search instead for 
Did you mean: 

How to change value's color from table?

Former Member
0 Kudos

Hi guys,

I need to change the color of the specific value of standard table (not alv).

I know how to change color of the cell, but this time I need to change only the color of the value.

Please share your ideas,

Thanks,

Darko

Accepted Solutions (1)

Accepted Solutions (1)

chengalarayulu
Active Contributor
0 Kudos

Darko,

as how you changed cell colors, similarly you create an attribute at table node level, and then bind the semantic color of textView property to newly created attribute.

ensure that attribute type should be WDUI_BAR_COLOR - check for domain values which indicates available colors to text.

while populating data for node, pass the corresponding color values.

Former Member
0 Kudos

Thanks Chengalarayulu I ll try it now.

I ll let you know what I have done

Answers (1)

Answers (1)

Former Member
0 Kudos

I tried and it's same. I don't know where is the error.

Anyway thanks for your answer

amy_king
Active Contributor
0 Kudos

Hi Darko,

The data element behind TextView's semanticColor property is WDUI_TEXTVIEW_SEM_COL.

The domain behind this data element contains the possible values for semanticColor so you can see what values are available to assign to the context attribute. Note that only these values are valid, so the system will ignore the assignment if you try to assign semanticColor a value other than 00 - 06.

Cheers,

Amy

Former Member
0 Kudos

Thanks Amy for your answer,

I didn't try this, now it work with cell design and it's good