Commit 3e9a9c36 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=27903 - Некорректное применение кнопки...

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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64279 954022d7-b5bf-4e40-9824-e11837661b57
parent 6d335e28
...@@ -3088,8 +3088,10 @@ var maxIndividualValues = 10000; ...@@ -3088,8 +3088,10 @@ var maxIndividualValues = 10000;
{ {
cell = aWs.getCell3(row, col); cell = aWs.getCell3(row, col);
var isMerged = cell.hasMerged(); var isMerged = cell.hasMerged();
if(isMerged && isMerged.c2 != col) var isMergedAllRow = (isMerged.c2 + 1 == gc_nMaxCol && isMerged.c1 === 0) ? true : false;//если замержена вся ячейка
{
if((isMerged && isMerged.c2 != col && !isMergedAllRow) || (isMergedAllRow && col !== ref.c1))
{
filterColumn = aWs.AutoFilter.addFilterColumn(); filterColumn = aWs.AutoFilter.addFilterColumn();
filterColumn.ColId = col - ref.c1; filterColumn.ColId = col - ref.c1;
filterColumn.ShowButton = false; filterColumn.ShowButton = false;
......
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