Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Listgrid and getBaseStyle

    Hi,

    I am trying to set the background color for a ListGrid cell to red or green depending on the value with the associated with the cell.

    I have added a @override getBaseStyle to my code and then check the values for a particular column. I added a logwarn in the getBaseStyle to output when the background color for the cell is set. However, the cell has a white background. I have attached a screen capture of the output along with the ListGrid code.

    Thanks in advance for your help.
    Attached Files

    #2
    You need to return an actual CSS class, not just a style string. background-color: red is not a CSS class.

    Comment

    Working...
    X