Commit 712d6728 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Убрал 2 функции checkCol и checkRow

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59820 954022d7-b5bf-4e40-9824-e11837661b57
parent 8a4680c3
...@@ -39,10 +39,6 @@ function FrozenPlace(ws, type) { ...@@ -39,10 +39,6 @@ function FrozenPlace(ws, type) {
// Methods // Methods
_this.initRange = function() { _this.initRange = function() {
checkCol(_this.worksheet.getLastVisibleCol());
checkRow(_this.worksheet.getLastVisibleRow());
switch (_this.type) { switch (_this.type) {
case FrozenAreaType.Top: { case FrozenAreaType.Top: {
...@@ -676,18 +672,6 @@ function FrozenPlace(ws, type) { ...@@ -676,18 +672,6 @@ function FrozenPlace(ws, type) {
// Range constructor // Range constructor
_this.initRange(); _this.initRange();
// Misc
function checkCol(col) {
while ( (col > 0) && !_this.worksheet.cols[col] )
_this.worksheet.expandColsOnScroll(true);
}
function checkRow(row) {
while ( (row > 0) && !_this.worksheet.rows[row] )
_this.worksheet.expandRowsOnScroll(true);
}
} }
// Container // Container
......
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