How to set background color of a cell.

I am new to use this grid.

I am getting grid values from database,

based on value of one of the cells in column, I want to show the background color of other column’s cells.

please suggest how to set background color of a cell it will be helpful if u provide some example.

The color of column can be defined during grid initialization
    grid.setColumnColor(“red,green”);

If colors are data specific, you can code them as part of data xml

    A
    A



The style attribute of cell tag can contain any css defenition