Hi sreedhar.

This may help u
it is both to change cell text color and cell backgroud color

package{
        import flash.display.Graphics;
        
        import mx.controls.AdvancedDataGrid;
        import mx.controls.Label;
        import mx.controls.advancedDataGridClasses.AdvancedDataGridListData;
        import mx.controls.listClasses.*;
        public class ADGCellColor extends Label
        {
                private var green:uint = 0x109C06;
                private var red:uint = 0xFF0000;
                private var blue:uint = 0x0F71EB;
                
                override protected function 
updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void
                {
                        var g:Graphics = graphics;
                        g.clear();
                        super.updateDisplayList(unscaledWidth, unscaledHeight);
                        var grid:AdvancedDataGrid =
AdvancedDataGrid(AdvancedDataGridListData(listData).owner);
                        
if(data[AdvancedDataGridListData(listData).dataField]<35)
                        {
                                setStyle("color",red);
                                g.beginFill(red);
                                g.drawRect(0,0,25,18);
                                g.endFill();
                        }

                }
        }
}


On Tue, Jul 14, 2009 at 6:32 PM, sreedhar<devakisreed...@gmail.com> wrote:
>
> Hi gys i want chenge the Advnced datagrid  Back ground clour
>  plese tell me and next thing is in Advnced datagrid colums is there
> when we are clike the colum that will go to othere page plese give me
> any information
> Thanks
> sreedhar.R
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to