Commit d2d4848a authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix update values:

- with compact rows
- grand total row
parent 6c3bb48b
......@@ -5013,6 +5013,7 @@
}
// rows
countR = pivotTable.getRowFieldsCount();
if (countR) {
c1 = pivotRange.c1;
r1 = pivotRange.r1 + countC;
......@@ -5066,7 +5067,7 @@
}
cells.setValueData(new AscCommonExcel.UndoRedoData_CellValueData(null, oCellValue));
}
if (countD && r === countR - 1) {
if (countD && (r === countR - 1 || AscCommonExcel.c_oAscItemType.Grand === item.t)) {
for (j = 0; j < cacheValuesCol.length; ++j) {
if (cacheRecord = cacheValuesCol[j]) {
for (k = 0; k < cacheValuesRow.length && 0 !== cacheRecord.length; k += 2) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment