views:

1359

answers:

1

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.

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