1 Reply Latest reply on Nov 27, 2009 3:51 AM by Matt Le Fevre

    e4x order by

    Sorcery Level 1



      It's possible to order a xml ( similaro to order by to mysql) ??


      Thank's for help.

        • 1. Re: e4x order by
          Matt Le Fevre Level 4



          Eg: Displaying XML in datagrid, then sorting by column1 would be;


          var sort:Sort = new Sort(); 
          sort.fields = [new SortField("column1", true)];  
          ArrayCollection(dataGrid.dataProvider).sort = sort;