Hi Suzy, This post might help. http://groups.yahoo.com/group/flexcoders/message/39557
--- In flexcoders@yahoogroups.com, "Suzy Lawson" <[EMAIL PROTECTED]> wrote: > > I have a view state that hides/shows datagrid columns. I need the "id" > attribute in order to identify to the State which column to set the > 'visible' value to. > > In mxml, there is a <mx: DataGridColumn id="" ../> attribute, HOWEVER, > there is not one when you do this: > > var dataGridColumn : DataGridColumn = new DataGridColumn(); > dataGridColumn.id="fromColumn";// COMPILER ERROR 'id' does not exist > > How is this possible? I appreciate your help in advance. > > Thanks. > ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/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/