Rahul
Rahul

Reputation: 13

Flex: Displaying xml in advanced data grid

I have an external xml file and i want to display 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?...

Upvotes: 1

Views: 878

Answers (1)

leiming
leiming

Reputation: 494

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>

Upvotes: 1

Related Questions