Commit d336b3f1 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@58883 954022d7-b5bf-4e40-9824-e11837661b57
parent bd42f746
......@@ -1374,6 +1374,10 @@ var gUndoInsDelCellsFlag = true;
t._addHistoryObj(oldFilter, historyitem_AutoFilter_Sort,
{activeCells: activeCells, type: type, cellId: cellId}, null, currentFilter.Ref);
History.EndTransaction();
if(!aWs.workbook.bUndoChanges && !aWs.workbook.bRedoChanges)
ws._onUpdateFormatTable(sortRange.bbox, false);
if(isTurnOffHistory)
History.TurnOn();
}
......@@ -1395,6 +1399,10 @@ var gUndoInsDelCellsFlag = true;
if(currentFilter.TableStyleInfo)
t._setColorStyleTable(currentFilter.Ref, currentFilter);
History.EndTransaction();
if(!aWs.workbook.bUndoChanges && !aWs.workbook.bRedoChanges)
ws._onUpdateFormatTable(sortRange.bbox, false);
if(isTurnOffHistory)
History.TurnOn();
}
......@@ -2772,8 +2780,11 @@ var gUndoInsDelCellsFlag = true;
if(!customFilter)
this._addHistoryObj(oldFilter, historyitem_AutoFilter_ApplyMF,
{activeCells: ar, autoFiltersObject: autoFiltersObject});
this._reDrawFilters();
if(!aWs.workbook.bUndoChanges && !aWs.workbook.bRedoChanges)
ws._onUpdateFormatTable(ar, false, true);
},
_getAutoFilterArray: function(cell) {
......
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