I am currently still using Flex SDK 3.5a and this is the code in the item renderer I use for background colors...
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var g:Graphics = graphics; g.clear(); g.beginFill(super.data.backgroundColor as String); g.drawRect(0, -2, unscaledWidth, unscaledHeight + 4); g.endFill(); } --- In flexcoders@yahoogroups.com, "isa_loyer" <isa_loyer@...> wrote: > > Hi, > > I load some data with httpservice. > In those data, I have a backgound color for each cell. > Can you explain how to do to change background color accordind data in dataprovider? > I thinks I must use itemrender but I don't found how to use dataprovider data to do that. > > Thaks for helping. >