开发者

Flex: Displaying xml in advanced data grid

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜