4 Replies Latest reply on Nov 30, 2009 1:47 PM by Yozef0

    AdvancedDataGrid - Refreshing GroupingCollection - Ordering of ArrayCollection dissolves

    Yozef0 Level 1

      Hello all,


            I have an AdvancedDatagrid which gets populated by an ArrayCollection.


      I ordered the ArrayCollection by date, so it shows from past to future. The thing is, if I refresh the GroupingCollection (for immediate display) After the Sorting of the ArrayCollection, the ordering of the dates in the ArrayCollection gets scrambled again, but displays the populated AdvancedDatagrid immediately.


      So in sum: ArrayCollection > Sorting > Refresh the GroupingCollection > Populates the Adv.DataGrid, but the ArrayCollection is not sorted anymore.


      Anybody stumbled on such an obstacle before?