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;

Re: Grid cell with customized font color

2008-07-03 Thread Thiago H. de Paula Figueiredo
Em Thu, 03 Jul 2008 07:56:48 -0300, Geoff Callender [EMAIL PROTECTED] escreveu: ...try putting a div in a t:parameter and varying the div's class, eg. Why don't you use pure CSS? If the objects in your Grid have a name property, for example, its cell is generated with td class=name. Thus,

Re: Grid cell with customized font color

2008-07-03 Thread Geoff Callender
That would be fine to give one style to the whole column, but I think the issue is he wants the style to vary based on the value in the cell. On 03/07/2008, at 10:27 PM, Thiago H. de Paula Figueiredo wrote: Em Thu, 03 Jul 2008 07:56:48 -0300, Geoff Callender [EMAIL PROTECTED] escreveu: