Hi,

I have a grouped collection which I show in an advanced datagrid,I have do
grouping based on the data that is coming in.

For Example :

In the below grouping collection I have added 3 grouping fields but I do not
want to apply all the 3 grouping for a subset of data or in other words for
only a subset of data which is given as source to the groupedCollection,I
want to apply all the 3 grouping which I have defined for the others I would
like to apply only 2 grouping, is it possible , if so please let me know
how?

            <mx:GroupingCollection  id="gc" source="{ac}">
                                <mx:Grouping>
                    <mx:GroupingField  name="screeningGroupCategory">
                          <mx:SummaryRow  summaryPlacement="group">
                                <mx:SummaryField  summaryFunction="summFunc"
                                   dataField="screeningGroupCategoryTotal"
label="Sub Total"/>
                          </mx:SummaryRow>
                    </mx:GroupingField>
               <mx:GroupingField  name="gtepSubScreeningGroup">
                          <mx:SummaryRow  summaryPlacement="group">
                                <mx:SummaryField summaryFunction="summFunc"
                                   dataField="gtepSubScreeningGroupTotal"
label="Sub Total"/>
                          </mx:SummaryRow>
                    </mx:GroupingField>
                     <mx:GroupingField name="accessionAFSC">
                          <mx:SummaryRow summaryPlacement="group">
                                <mx:SummaryField summaryFunction="summFunc"
                                   dataField="accessionAFSCTotal" label="Sub
Total"/>
                          </mx:SummaryRow>
                    </mx:GroupingField>        
                </mx:Grouping>
            </mx:GroupingCollection>
-- 
View this message in context: 
http://old.nabble.com/GroupedCollection--changing-the-grouping-field-based-on-the-data.-tp26282085p26282085.html
Sent from the Flex India mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
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