I am using the advanced datagrid
control. In that I am showing the data in hierarchical format in that I have one parent with two children. In the parent I have a checkbox and when I select the checkbox, I have to remove the existing data of children and replace with new ones.
views:
1359answers:
1
A:
To refresh the data when displaying hierarchical data simply refresh the group list in the advanced datagrid.
The API is not consistent which trips many ppl up.
groupList.refresh();
<mx:dataProvider>
<mx:GroupingCollection id="groupList" source="{OrderDB.flatData}" >
<mx:Grouping>
<mx:GroupingField name="benchmark" >
<mx:summaries>
Karl
2009-07-02 21:17:05