Commit e1a04bb1 authored by Igor.Zotov's avatar Igor.Zotov

http://bugzserver/show_bug.cgi?id=27707 - [CoEdit] Раскрытие скрытых значений...

http://bugzserver/show_bug.cgi?id=27707 -  [CoEdit] Раскрытие скрытых значений фильтрованного диапазона при его передаче

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60423 954022d7-b5bf-4e40-9824-e11837661b57
parent 164b6608
......@@ -3036,6 +3036,26 @@ var gUndoInsDelCellsFlag = true;
this._addHistoryObj(oldFilter, historyitem_AutoFilter_ApplyMF,
{activeCells: ar, autoFiltersObject: autoFiltersObject});
//проставляем после применения а/ф hiddenRowsObj
if(this.allButtonAF && this.allButtonAF.length && autoFiltersObject.cellId)
{
for(var i = 0; i < this.allButtonAF.length; i++)
{
if(autoFiltersObject.cellId === this.allButtonAF[i].id)
{
if(currentFilter && currentFilter[isCurFilter])
{
var hiddenRowsObj = this._getHiddenRows(this.allButtonAF[i].id, this.allButtonAF[i].idNext, currentFilter[isCurFilter]);
this.allButtonAF[i].hiddenRows = hiddenRowsObj;
}
else
this.allButtonAF[i].hiddenRows = null;
break;
}
}
}
this._reDrawFilters();
if(!aWs.workbook.bUndoChanges && !aWs.workbook.bRedoChanges)
......
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