Re: Grid cell with customized font color

2008-07-04 Thread victor zhou
Geoff, Thanks for your suggestion. It worked out well for me. I'm using severity level as a string value in the cell. I defined css class as the same name as severity level so I skipped getSeverityLevelClass method. Example: In css file: div.Critical{ color: red; } div.Major{ color: orange; }

Grid cell with customized font color

2008-07-01 Thread victor zhou
Hi, All, I'm using a Grid component to show an alarm table which requires display different font color based on severity level (a string parameter in data model). Any suggestions on how to customize grid cell's font color or background color? Thanks a lot, -victor