View Full Version : [Grid] TD's class (or css) Definition in ColumnModel?

3 Jun 2007, 12:18 AM
I was wondering if is it possible to define TD's class or css in ColumnModel object definition (should work like rendering functions).

*What I need is basicly to set TD's background to red if value < 0, and green if value > 0.

3 Jun 2007, 3:41 AM
You can override the css used for these tds. Just explore the rendered html with Firebug to find out which css classes to override.

Also, watch the grid videos from tutorials page, there is the solution for your problem.