Yes, is this not working for you? I rarely if ever let Flex generate my columns, since I like having control over the order and such, but DataGrid should do what you are showing.
Tracy ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of markgoldin_2000 Sent: Sunday, December 28, 2008 6:52 PM To: [email protected] Subject: [flexcoders] DataGrid - create dynamic columns Is it possible to completely skip datagrid column design and generate all columns as dynamic using dataProvider assigning mechanism? So, this XML sample: <root> <row> <col1>1</col1> <col2>2</col2> <col3>3</col3> </row> <row> <col1>4</col1> <col2>5</col2> <col3>6</col3> </row> <root> Will create: --------------- col1|col2|col3| --------------- 1 |2 |3 | 4 |5 |6 | --------------- Or I have to create columns at run-time parsing some data and then assign dataProvider with actual data? Later is what I do now, but I was wondering what others do with showing dataGrids that have dynamic structure. Thanks

