This content has been marked as final. Show 2 replies
Summary data is not supported for hierarchical data represented by the HierarchicalData class. You can only create summary data for data represented by the GroupingCollection class.
You could, however, pass the data through a function to create an ArrayCollection of flat data that represents the data as a hierarchy using objects.
"irislpc" <email@example.com> wrote in message
> If I am not displaying the hierarchical data in AdvancedDataGrid by using
> collection, can I still use summary rows? I populate the advanced data
> with external xml file. The xml is structured hierarchically so that I
> need to group the data. The problem is I have data that need to be
> displayed in
> group row. Can I use summaries function to do that?
> Here is the sample application
"Note: Summary data is not supported for hierarchical data represented by
the HierarchicalData class. You can only create summary data for data
represented by the GroupingCollection class."
I couldn't get at your app, since I'm not going to upgrade to Flash Player
10 just to help you (I think that change is far more difficult to undo than
to do), but you might find that you can make a GroupingCollection from your
XML just by casting it.