Best way to color a row is to override drawRowBackground
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, June 30, 2008 1:08 PM To: [email protected] Subject: [flexcoders] Draw colored shape 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

