You can define a css class with the color, and override
DataTabla.newCellItem() to either add a DataTable.CssAttributeBehavior with
the css class name or to return an Item subclass that overrides
onComponentTag() to add the css class name.  The latter is better if the
cells are changing color dynamically with ajax.

-Clint

On Mon, May 25, 2009 at 7:23 AM, Daniel Ore <daniel...@gmail.com> wrote:

> HiIs there a way to set the color of a cell in a DataTable (Actually I'm
> using the AjaxFallbackDefaultDataTable but I guess that if there's a way it
> must apply to all).
>
> Thanks
>
> _______________
> Daniel Ore
>



-- 
Clint Popetz
http://42lines.net
Scalable Web Application Development

Reply via email to