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" <foobo...@...> 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
> >
>