Skip to Content
avatar image
Former Member

To change the color of table column

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 14, 2009 at 12:41 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Aishwarya,

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

      Regards,

      Gary

  • Jul 14, 2009 at 01:38 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 12:54 PM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded