Commit 1a2559d8 authored by Alexander.Trofimov's avatar Alexander.Trofimov

update with pivot filters

parent 8c8f9cf5
...@@ -3487,7 +3487,13 @@ var editor; ...@@ -3487,7 +3487,13 @@ var editor;
History.StartTransaction(); History.StartTransaction();
callback(); callback();
History.EndTransaction(); History.EndTransaction();
pivotRange = pivot.getRange(); pivotRange = pivot.getRange().clone();
// ToDo update ranges, not big range
var pos;
for (var j = 0; j < pivot.pageFieldsPositions.length; ++j) {
pos = pivot.pageFieldsPositions[j];
pivotRange.union3(pos.col + 1, pos.row);
}
t.wbModel.getActiveWs()._updatePivotTables(pivotRange); t.wbModel.getActiveWs()._updatePivotTables(pivotRange);
ws = t.wb.getWorksheet(); ws = t.wb.getWorksheet();
ws._onUpdateFormatTable(pivotRange); ws._onUpdateFormatTable(pivotRange);
......
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