Commit a59aab9e authored by GoshaZotov's avatar GoshaZotov

calculate all rows count into filter/table

parent 4d4e8d6e
...@@ -632,6 +632,7 @@ ...@@ -632,6 +632,7 @@
//****open/close rows**** //****open/close rows****
var nOpenRowsCount = null; var nOpenRowsCount = null;
var nAllRowsCount = null;
if(!bUndoChanges && !bRedoChanges) if(!bUndoChanges && !bRedoChanges)
{ {
var startRow = autoFilter && autoFilter.Ref ? autoFilter.Ref.r1 + 1 : currentFilter.Ref.r1 + 1; var startRow = autoFilter && autoFilter.Ref ? autoFilter.Ref.r1 + 1 : currentFilter.Ref.r1 + 1;
...@@ -706,6 +707,7 @@ ...@@ -706,6 +707,7 @@
} }
} }
nOpenRowsCount = nRowsCount - nHiddenRowCount; nOpenRowsCount = nRowsCount - nHiddenRowCount;
nAllRowsCount = endRow - startRow + 1;
} }
//history //history
...@@ -715,7 +717,7 @@ ...@@ -715,7 +717,7 @@
this._resetTablePartStyle(); this._resetTablePartStyle();
return {minChangeRow: minChangeRow, rangeOldFilter: rangeOldFilter, nOpenRowsCount: nOpenRowsCount}; return {minChangeRow: minChangeRow, rangeOldFilter: rangeOldFilter, nOpenRowsCount: nOpenRowsCount, nAllRowsCount: nAllRowsCount};
}, },
reapplyAutoFilter: function (displayName, ar) reapplyAutoFilter: function (displayName, ar)
......
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