:: Forum >>

Changing cell backgound

I have a requirement like i should change the background color of a cell while setting data to grid.i have tried this through the setCellData function but the background color is not reflecting where as another property i had set setCellEditable is reflecting.

please send a reply if anyone knows.
Venkat
Wednesday, June 6, 2007
You can use setStyle() method -

grid.getCellTemplate(col, row).setStyle("background", "red");
Alex (ActiveWidgets)
Wednesday, June 6, 2007

This topic is archived.


Back to support forum

Forum search