I have a data grid and there are 10 columns and 5 rows in that. I am trying to use itemRenderer = "myRenderer" ----- myRenderer.mxml ------
<?xml version="1.0" encoding="utf-8"?> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Label textAlign="right" text="{data.name}" alpha="0.1" color="#ff0033" width="100%" /> </mx:VBox> I want to have different colors for each name.In the above code,as i am giving {data.name}, I am getting all the names with same color. I want to access each element(cell) in that column(column name=name) and give each name with different color.Can somebody help me with this? Thanks ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/