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

http://bugzserver/show_bug.cgi?id=26142 - Ячейки фильтрованного диапазона...

http://bugzserver/show_bug.cgi?id=26142 - Ячейки фильтрованного диапазона сдвигаются Вправо/Вниз (Shift Cells Right/Down)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65174 954022d7-b5bf-4e40-9824-e11837661b57
parent caffe536
......@@ -2227,6 +2227,12 @@ var maxIndividualValues = 10000;
aWs.workbook.handlers.trigger("asc_onError", c_oAscError.ID.AutoFilterChangeFormatTableError, c_oAscError.Level.NoCritical);
return false;
}
else if(InsertCellsAndShiftRight && activeCells.c1 <= tableRange.c1 && ((activeCells.r1 >= tableRange.r1 && activeCells.r1 <= tableRange.r2) || (activeCells.r2 >= tableRange.r1 && activeCells.r2 <= tableRange.r2)) && !(activeCells.r1 <= tableRange.r1 && activeCells.r2 >= tableRange.r2))//если часть а/ф находится справа
{
aWs.workbook.handlers.trigger("asc_onError", c_oAscError.ID.AutoFilterChangeFormatTableError, c_oAscError.Level.NoCritical);
return false;
}
//если выделенная область находится до а/ф
if(activeCells.c2 < tableRange.c1 && activeCells.r1 <= tableRange.r1 && activeCells.r2 >= tableRange.r2 && (DeleteCellsAndShiftLeft || InsertCellsAndShiftRight))
result = true;
......
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