Another way is to use recursion

var selectedLeafObj:Object = selectedRow;
while(selectedLeafObj && selectedLeafObj.children){
        selectedLeafObj = selectedLeafObj.children[0];
}//while

--- In [email protected], "fumeng5" <fume...@...> wrote:
>
> I can do it this way but it seems totally wonky to me:
> 
> i override set data():
> var appListData:AdvancedDataGridListData = AdvancedDataGridListData(listData);
> (appListData.owner as AdvancedDataGrid).dataProvider.source.source
> --- In [email protected], "fumeng5" <fumeng5@> wrote:
> >
> > Hi,
> > 
> > I have an AdvancedDataGrid with a Grouping Collection to make my flat data 
> > into a hierarchy. 
> > 
> > I also have another column of data next to (on the same level) as the 
> > group. I need to access the column data there but I can't and I'm guessing 
> > it's because the dataProvider is now restructured and I can't get the data 
> > using the dataField anymore. 
> > 
> > Is there another way to access it? 
> > 
> > Thanks for any helpful tips,
> > 
> > Matt
> >
>


Reply via email to