I don't think that it is different. IHierarchicalCollectionView extends 
ICollectionView which is where the sort is defined.

--- In flexcoders@yahoogroups.com, "djhatrick" <djhatr...@...> 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 flexcoders@yahoogroups.com, "foobone9" <foobone9@> wrote:
> >
> > Just sort the collection that the grid is bound to.
> > 
> > --- In flexcoders@yahoogroups.com, "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