Commit 806395d0 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

правка для бага №18965.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47174 954022d7-b5bf-4e40-9824-e11837661b57
parent 7190744e
...@@ -940,7 +940,11 @@ ...@@ -940,7 +940,11 @@
result = []; result = [];
var startCol = sCell.first.col - 1; var startCol = sCell.first.col - 1;
var endCol = eCell.first.col - 1; var endCol = eCell.first.col - 1;
//проверяем диапазон
if(ws.cols.length < eCell.first.col)
ws.expandColsOnScroll(false,true,eCell.first.col);
if(ws.rows.length < eCell.first.row)
ws.expandColsOnScroll(false,true,eCell.first.row);
for(var col = startCol; col <= endCol; col++) for(var col = startCol; col <= endCol; col++)
{ {
var idCell = new CellAddress(sCell.first.row - 1, col, 0); var idCell = new CellAddress(sCell.first.row - 1, col, 0);
......
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