4 Replies Latest reply on Aug 21, 2006 7:15 AM by ExeyPanteleev

    How to create auto sort for DataGrid?

    ExeyPanteleev
      (sorry 4 my English)

      XML provide into DataGrid:

      <items>
      <item>
      <title>Work 1</title>
      <date>2005-09-07</date>
      </item>
      <item>
      <title>Work 2</title>
      <date>2006-02-06</date>
      </item>
      <item>
      <title>Work 3</title>
      <date>2005-10-07</date>
      </item>
      </tems>

      How programmatic to sort fields by Date ?
      In Flex 1.5 - auto Sort ( http://www.mail-archive.com/flexcoders@yahoogroups.com/msg10351.html)
      But in Flex 2 method sortByColumn(); is private