I created my sort, applied called my grouping Collection.refresh() and the data 
duplicates in the advancedDatagrid, any ideas?

Thanks,
Patrick




--- In [email protected], "foobone9" <foobo...@...> wrote:
>
> I don't think that it is different. IHierarchicalCollectionView extends 
> ICollectionView which is where the sort is defined.
> 
> --- In [email protected], "djhatrick" <djhatrick@> wrote:
> >
> > By the way, why is the sort different from ICollectionView?  This makes 
> > this confusing because all my items duplicate... etc.
> > 
> > 
> > 
> > private function sortDataField(value:String):void
> >                     {
> >                             
> >                             //var hd:IHierarchicalCollectionView  = 
> > IHierarchicalCollectionView(adg.dataProvider);
> >                             
> >                                                                             
> >                 
> >                             var hd:IHierarchicalCollectionView  
> > =adg.dataProvider as IHierarchicalCollectionView;
> >                             var sort:Sort                           =       
> > new Sort();
> >                             sort.fields                                     
> > =       [new SortField("id")];
> >                             hd.sort                                         
> > =       sort;
> >                             gc.refresh();
> >                     }
> >                     
> > 
> > 
> > 
> > 
> > 
> > --- In [email protected], "foobone9" <foobone9@> wrote:
> > >
> > > Just sort the collection that the grid is bound to.
> > > 
> > > --- In [email protected], "djhatrick" <djhatrick@> wrote:
> > > >
> > > > How do i duplicate the functionality of of sorting an advancedDatagrid 
> > > > without a header release event.  
> > > > 
> > > > I'd like to sort my IHierarchicalCollectionView recursively.
> > > > 
> > > > Thanks,
> > > > Patrick
> > > >
> > >
> >
>


Reply via email to