Hi, Trying to work with Cairngorm.
view.Employees.mxml has datagrid that needs to have its columns and data set dynamically. Now I can set the data up as ArrayCollection in the ModelLocator and set <mx:DataGrid id="dg" dataProvider="{ModelLocator.getInstance().employees}"> How can I set up the columns for the datagrid above. Is it something that I can set from the Command, onResult() or externally. I guess is there a way to access the view.Employees.dg.columns="myColumns" Thanks. ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/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/