Hi,

I am using ADGrid   and grouping is not working for me .We are using
Cairngorm Framework .

I am getting the array collection and giving it as dataprovider to
Grouping collection as follows.

<mx:GroupingCollection id="gc"  source="{model.arrColl}" >
             <mx:grouping>
              <mx:Grouping>
               <mx:GroupingField name="empName"  />
              </mx:Grouping>
             </mx:grouping>
</mx:GroupingCollection>

giving this  grouping collection as  Dataprovider to ADG
<mx:AdvancedDataGrid id="home_dg" minWidth="300" editable="true"
                        draggableColumns="false" height="100%"
variableRowHeight="true"
                                 dataProvider="{gc}">

The main issue is when to call the gc.refresh();  because i can't call
it on initialization as the arraycollection is null initially and we
are collection the service after filling some fields in the service
which fills this ARRAYCOLL .


Can some one help me with this issue.

Thanks & cheers,
jagdish
-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to