O, that number was just for testing.
I was hoping I would be able to achieve that without going into 
custom design.

--- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> 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.h
tm\
> l> , that has a lot of DataGrid background color info.
> 
> -TH
> 
> --- In [email protected], "markgoldin_2000"
> <markgoldin_2000@> 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