10000000 isn't a valid color uint, try 0x000000 or "#000000".  Setting
the background color of an itemRenderer in this way, will probably not
give you the desired result; since the itemRenderers are recycled. 
You're better off over-riding the set data  or updataDisplayList
functions, in the itemRenderer itself.   Here's an article by Peter Ent
<http://weblogs.macromedia.com/pent/archives/2007/02/coloring_the_ba.htm\
l> , that has a lot of DataGrid background color info.

-TH

--- In [email protected], "markgoldin_2000"
<[EMAIL PROTECTED]> wrote:
>
> Here is my context menu handler:
> private function contextMenuHandler(e:ContextMenuEvent):void
> {
> DataGridItemRenderer(e.mouseTarget).setStyle("backgroundColor",
> 10000000);
> }
>
> But I dont see any changes on the screen. What am I doing wrong?
>
> Thanks
>


Reply via email to