I am trying to use this function to change row's color in DG:
public function setColor(row:Number, color:Number, Width:Number):void
{
var g:Graphics = graphics;
g.clear();
g.beginFill(color);
g.drawRect(x, y, Width, 35);
g.endFill();
}
I am calling this function after I have asiigned dataSource.Dont see any coloring though. Is it all wrong? Thanks

