[SSE] Update grand totals.

This commit is contained in:
Julia Radzhabova 2017-08-03 15:28:49 +03:00
parent 06bbdabb21
commit 193b95b7dc

View file

@ -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);