View Full Version : Totals calculated twice in Group-Summary Plugin

24 Oct 2008, 10:22 AM

I am doing multilevel grouping(grouping by projectName and resourceName).
Please find the below code what I am using for multilevel grouping.

var groupStore = new Ext.ux.MultiGroupingStore({
proxy: new Ext.data.HttpProxy({
url: 'orders.json',
method: 'GET'
,reader: reader
,sortInfo: {field: 'sortField', direction: 'ASC'}
,groupField: ['projectName','resourceName']

Please find the below screen shot for the results what I am getting currently.


As displayed in the above screen shot summary plugin calculated totals every time per sub group (resourceName),but It need's to be calculate once per main group(projectName).

Also I have observer one more thing totals displayed twice is for the second resource (i.e. for the first resource totals are not displayed twice).

Note: Please don't move this thread since this question has to be posted in this user extension thread.