Commit 89ae4345 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил обновление данных. Поправил возврат результата.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61610 954022d7-b5bf-4e40-9824-e11837661b57
parent 66cb034d
...@@ -11013,7 +11013,6 @@ ...@@ -11013,7 +11013,6 @@
History.TurnOff(); History.TurnOff();
var oAllRange = new Range(this.model, 0, 0, this.nRowsCount - 1, this.nColsCount - 1); var oAllRange = new Range(this.model, 0, 0, this.nRowsCount - 1, this.nColsCount - 1);
oAllRange.cleanAll(); oAllRange.cleanAll();
History.TurnOn();
var row, oCell; var row, oCell;
for (var r = 0; r < oData.length; ++r) { for (var r = 0; r < oData.length; ++r) {
...@@ -11025,6 +11024,8 @@ ...@@ -11025,6 +11024,8 @@
} }
} }
} }
History.TurnOn();
this._updateCellsRange(oAllRange.bbox); // ToDo Стоит обновить nRowsCount и nColsCount
}; };
WorksheetView.prototype.getData = function () { WorksheetView.prototype.getData = function () {
var arrResult = [], cell, c, r, row; var arrResult = [], cell, c, r, row;
...@@ -11039,6 +11040,7 @@ ...@@ -11039,6 +11040,7 @@
} }
arrResult.push(row); arrResult.push(row);
} }
return arrResult;
}; };
/* /*
......
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