Categories | Question details Back To List | ||
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. Answer posted by Support on Jun 27, 2008 01:33 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 <row id="some"> <cell style='color:red;'>A</cell> <cell style='color:green;'>A</cell> </row> The style attribute of cell tag can contain any css defenition |