I have datagrid in my page and I want to change particular cell background color. I don't want to use itemrenderer. Is there any alternate ?
A:
Here is an example of changing the selection color: Flex Examples
If you want to do more than that, I'm afraid you will have to use an itemRenderer.
CookieOfFortune
2009-07-07 05:29:49
A:
You could subclass DataGrid and override the protected drawRowBackground() method or possibly drawColumnBackground(). These are intended to draw the background for an entire row or column but you may be able to get it to draw a special color only for the cell(s) you want.
cliff.meyers
2009-07-07 15:21:09
A:
If you are using the advancedDatagrid, you could use the styleFuction.
Flexicoius
2010-05-07 22:17:44