[SSE] Update pivot templates when edit grand totals.

This commit is contained in:
Julia Radzhabova 2017-08-03 12:53:07 +03:00
parent 0ca3e9fc41
commit 06bbdabb21
2 changed files with 16 additions and 0 deletions

View file

@ -278,4 +278,8 @@
margin-top: -6px;
margin-bottom: -6px;
.view .dataview {
padding: 1px;
}
}

View file

@ -239,6 +239,18 @@ define([
needTablePictures = true;
}
value = props.asc_getColGrandTotals();
if (this._state.ColGrandTotals!==value) {
this._state.ColGrandTotals=value;
needTablePictures = true;
}
value = props.asc_getRowGrandTotals();
if (this._state.RowGrandTotals!==value) {
this._state.RowGrandTotals=value;
needTablePictures = true;
}
if (needTablePictures)
this.onApiInitPivotStyles(this.api.asc_getTablePictures(this._originalProps, true));