3 Replies Latest reply on Jun 23, 2008 5:08 AM by CalRaiden©

    DataGrid dynamic columns

    vekki11
      I have an XML in the following format passed to mxml using WebService:

      <data>
      <run>
      <time>111</time>
      <name>test</name>
      </run
      <run>
      <time>1114</time>
      <name>test3</name>
      </run
      </data>

      I don't no the name of the columns coming in. Is there a way to dynamically add columns to DataGrid?

      Thanks.

      Venkatesh