HiI need to implement a datagrid based on user input. User input determines the number of datagrid columns.Can you please tell me how to do this? In all the examples I have seen the grid columns are static though data is rendered through data provider like this:<mxataGrid id="datagrid1" width="100%" height="80%" dataProvider="{dp}" rowHeight="100"> <mx:columns> <mx:Array> <mxataGridColumn headerText="Name" columnName="name" editable="false"/> <mxataGridColumn headerText="City" columnName="city" editable="false" /> <mxataGridColumn headerText="Birthday" cellRenderer="GridCellRenderer" /> <mxataGridColumn headerText="Favorites" columnName="combodata" editable="true" /> <mxataGridColumn headerText="Delete" columnName="candelete" editable="true" /> </mx:Array> </mx:columns> </mxataGrid>
here you have mxataGridColumn tags which render the columns. I need to implement a datagrid which has dynamic number of
columns.
Please help me.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.