3.2.0

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
June 6,
You can use setStyle() method -

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

This topic is archived.

See also:


Back to support forum