Skip to Content
avatar image
Former Member

How to put different colors for table rows (not using theme editor)?

Hello,

I am using NW04s.

I am creating data for a certain table, not at runtime trhough the wdDoModifyView method but just creating the elements for one I've created at design time.

Is it possible to color rows in different colors based on a certain condition? Perhaps putting another attribute in the node from the UI directory and apply it for the row? I assume I can use the theme editor but I am looking for more simple solution.

Roy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 16, 2007 at 10:56 AM

    Hai,

    /people/sap.user72/blog/2006/04/25/colourful-table-in-web-dynpro

    Regards,

    Naga

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 16, 2007 at 11:12 AM

    Hi ,

    Bind the cellDesign attribute of the table column to a node value attribute of type tablecelldesign

    set that atttribute value as

    .setXXX(WDTableCellDesign.<Constnt value>);

    Regards

    Bharathwaj.

    Add comment
    10|10000 characters needed characters exceeded