say for eg:-
my xml is
I create the hierarchical data from this xml.
Now in the data grid ( with tree ) , if all nodes are closed (collapsed) , and when I click on any column,
It should get sorted based on the data of the parent ( i.e company name or company status in this case )
probably a sort function, eg:
sort.fields = [new SortField("employee", true)]; ArrayCollection(datagrid.dataProvider).sort = sort; ArrayCollection(datagrid.dataProvider).refresh();
although there are very cool alternatives you could use when it comes to hierarchical data