Summary row count appears zero for a field like 'wip.aggregatedValue' but not for 'wip'

Posted by Tushar Khairnar on Stack Overflow See other posts from Stack Overflow or by Tushar Khairnar
Published on 2010-05-28T07:56:38Z Indexed on 2010/05/28 8:02 UTC
Read the original article Hit count: 321

Filed under:
|

Hi,

I am using advanceddatagrid with groupedColumns and summary rows. I have following columns grop.

<mx:AdvancedDataGridColumn id="wipId" dataField="wip.aggregatedValue" headerText="WIP"/> <mx:AdvancedDataGridColumn id="closedId" dataField="closed.aggregatedValue"/> <mx:AdvancedDataGridColumn dataField="newevents"/>
</mx:AdvancedDataGridColumnGroup> <mx:SummaryRow summaryPlacement="group"> <mx:fields> <mx:SummaryField operation="SUM" dataField="wip.aggregatedValue" /> </mx:fields> </mx:SummaryRow> <mx:SummaryRow summaryPlacement="group"> <mx:fields> <mx:SummaryField operation="SUM" dataField="closed.aggregatedValue" /> </mx:fields> </mx:SummaryRow> <mx:SummaryRow summaryPlacement="group"> <mx:fields> <mx:SummaryField operation="SUM" dataField="newevents" /> </mx:fields> </mx:SummaryRow>

So for fields WIP and closedEvents summary row appears zero but for newevents it appears correctly. Please let me know how to solve this problem.

Thanks tushar

© Stack Overflow or respective owner

Related posts about flex

Related posts about advanceddatagrid