Commit 0e93d39e authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=27047 - Не обновляется канва после...

http://bugzserver/show_bug.cgi?id=27047 - Не обновляется канва после сортировки или скрытия значений автофильтра

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58938 954022d7-b5bf-4e40-9824-e11837661b57
parent 1ec2d1b7
......@@ -331,6 +331,7 @@ var gUndoInsDelCellsFlag = true;
var isUpdateRange = null;
var recalc = false;
var changeRows = null;
if(paramsForCallBack)//меняем/удаляем/устанавливаем стиль для а/ф
{
switch(paramsForCallBack)
......@@ -416,6 +417,7 @@ var gUndoInsDelCellsFlag = true;
t.drawAutoF();
isUpdateRange = changesElemHistory.Ref;
changeRows = true;
break;
}
......@@ -730,7 +732,7 @@ var gUndoInsDelCellsFlag = true;
else
{
if(isUpdateRange != null && !bIsOpenFilter && !aWs.workbook.bCollaborativeChanges && !aWs.workbook.bUndoChanges && !aWs.workbook.bRedoChanges)
ws._onUpdateFormatTable(isUpdateRange, recalc);
ws._onUpdateFormatTable(isUpdateRange, recalc, changeRows);
History.EndTransaction();
if(isTurnOffHistory)
......@@ -7247,6 +7249,8 @@ var gUndoInsDelCellsFlag = true;
this._addHistoryObj(oldFilter, historyitem_AutoFilter_CleanAutoFilter, {activeCells: activeCells}, null, activeCells);
this._reDrawFilters();
ws._onUpdateFormatTable(oldFilter.Ref, false, true);
},
_isFilterColumnsContainFilter: function(filterColumns)
......
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