cancel
Showing results for 
Search instead for 
Did you mean: 

To change the color of table column

Former Member
0 Kudos

Hi Experts,

I have created WD Project which fetches data from R/3. The output is displayed in Table. The table has 5 columns - empno, emp name, dept, salary, city. I want to highlight all records of salary and city field in red color. How I can do so?

Please help.

Regards,

Gary

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Gary,

Check out the follwoing wiki

https://wiki.sdn.sap.com/wiki/display/Snippets/CreatingaColorLegendinaTableinWeb+Dynpro

it talks about changing the color row wise but you make use of it by applying it to your column

Former Member
0 Kudos

Hi Aishwarya,

Thanks a lot. Issue sorted out by your help. I have awarded 10 points to you.

Regards,

Gary

Answers (2)

Answers (2)

gill367
Active Contributor
0 Kudos

Hi

You can change the color of the specific row very easily.

you just need to go to the layout of your view and there select the properties of the table column whose color you want to change.

If you want to change the backgroud color to red then change the cell design to negative

and is you want to change the color of the fonts then change the semantic color property of the table cell editor for that particular column.

thanks,

Sarbjeet

Former Member
0 Kudos

This message was moderated.