Hi,
how can I refresh the displayed data in a Datagrid when the underlying
ArrayCollection changes?
<mx:AdvancedDataGrid>
<mx:dataProvider>
<mx:HierarchicalData source="{arrCol_groupedData}"
childrenField="accounts"/>
</mx:dataProvider>
</mx:AdvancedDataGrid>
Calling a simple refresh (like with a simple arraycollection as a dataprovider,
or with a refresh on the Grouping Collection) does not work.
Also re-assigning the arrayCollection to the Hierarchical Data and then
assigning this one again to the Datagrid does not work (even with calling
invalidateProperties() or validateNow()).
Any ideas? Someone suggested to extend HierarchicalData and throw a manual
change event, but that seems very akward to me.
Thanks,
Martin
--
Martin Moschitz
[email protected]