Commit 753802ff authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Из сортировки убрал лишние отрисовки. Тоже перепроверить.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58804 954022d7-b5bf-4e40-9824-e11837661b57
parent 1fd376d4
...@@ -1366,10 +1366,6 @@ var gUndoInsDelCellsFlag = true; ...@@ -1366,10 +1366,6 @@ var gUndoInsDelCellsFlag = true;
t._addHistoryObj(oldFilter, historyitem_AutoFilter_Sort, t._addHistoryObj(oldFilter, historyitem_AutoFilter_Sort,
{activeCells: activeCells, type: type, cellId: cellId}, null, currentFilter.Ref); {activeCells: activeCells, type: type, cellId: cellId}, null, currentFilter.Ref);
History.EndTransaction(); History.EndTransaction();
// ToDo может хватит просто почистить selectionRange или нужно делать полный "update" ?
ws._cleanCache(selectionRange);
ws.isChanged = true;
ws.changeWorksheet("update");
if(isTurnOffHistory) if(isTurnOffHistory)
History.TurnOn(); History.TurnOn();
} }
...@@ -1391,9 +1387,6 @@ var gUndoInsDelCellsFlag = true; ...@@ -1391,9 +1387,6 @@ var gUndoInsDelCellsFlag = true;
if(currentFilter.TableStyleInfo) if(currentFilter.TableStyleInfo)
t._setColorStyleTable(currentFilter.Ref, currentFilter); t._setColorStyleTable(currentFilter.Ref, currentFilter);
History.EndTransaction(); History.EndTransaction();
ws._cleanCache(selectionRange);
ws.isChanged = true;
ws.changeWorksheet("update");
if(isTurnOffHistory) if(isTurnOffHistory)
History.TurnOn(); History.TurnOn();
} }
......
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