From 193b95b7dcbe81a76d03d7d4cf02aaee79a2d1ed Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 3 Aug 2017 15:28:49 +0300 Subject: [PATCH] [SSE] Update grand totals. --- apps/spreadsheeteditor/main/app/controller/PivotTable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/PivotTable.js b/apps/spreadsheeteditor/main/app/controller/PivotTable.js index 8f0f79808f..9818506478 100644 --- a/apps/spreadsheeteditor/main/app/controller/PivotTable.js +++ b/apps/spreadsheeteditor/main/app/controller/PivotTable.js @@ -182,8 +182,8 @@ define([ onPivotGrandTotals: function(type){ if (this.api) { var props = this._originalProps.asc_clone(); - props.asc_setColGrandTotals(type == 1 || type == 3); - props.asc_setRowGrandTotals(type == 1 || type == 2); + props.asc_setColGrandTotals(type == 1 || type == 2); + props.asc_setRowGrandTotals(type == 1 || type == 3); this._originalProps.asc_set(this.api, props); } Common.NotificationCenter.trigger('edit:complete', this);