I have an external xml file and i want to d开发者_JS百科isplay it in an advanced data grid....as in if i click the parent element the children have to be displayed in the corresponding columns...i'm trying it with my dataprovider but its not working. How do i do that?...
Maybe you are coding as usual:
<mx:AdvancedDataGrid dataProvider="{user.users}" width="100%" height="100%">
...
...
</mx:columns>
So may you change a little?
<mx:AdvancedDataGrid dataProvider="{new HierarchicalData(user.users)}" width="100%" height="100%">
...
...
</mx:columns>
精彩评论