Here is code:
override protected function drawRowBackground(s:Sprite, rowIndex:int,
y:Number, height:Number,color:uint, dataIndex:int):void
{
if (rowIndex ==3)
color = 0xFF0000;
// call the super function to make it happen.
super.drawRowBackground(s,rowIndex,y,height,color,dataIndex);
}
It works fine and I get the row colored.
Later on, I am changing column background:
dgc.setStyle("backgroundColor", bBackgroundColor);
and I am losing my initial row color. How can I protect it from
changing at all?
Thanks