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

проблема отмены открытия скрытых строк, находящихся в а/ф(пример - Порталы на триале.xlsx)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50653 954022d7-b5bf-4e40-9824-e11837661b57
parent ca0b6b3c
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
isHidden = ws.model._getRow(i).hd; isHidden = ws.model._getRow(i).hd;
if(isHidden) if(isHidden)
{ {
ws.model._getRow(i).hd = false; ws.model.setRowHidden(/*bHidden*/false, i, i);
isInsert = true; isInsert = true;
} }
} }
...@@ -2404,7 +2404,7 @@ ...@@ -2404,7 +2404,7 @@
if(array[i] == false || array[i] == 'hidden') if(array[i] == false || array[i] == 'hidden')
{ {
if(!ws.model._getRow(row).hd) if(!ws.model._getRow(row).hd)
ws.model.setRowHeight(0,row,row); ws.model.setRowHidden(/*bHidden*/true, row, row);
} }
else if(array[i] == true) else if(array[i] == true)
{ {
...@@ -2412,7 +2412,7 @@ ...@@ -2412,7 +2412,7 @@
var alreadyHidden = false; var alreadyHidden = false;
if(isHidden) if(isHidden)
ws.model._getRow(row).hd = false; ws.model.setRowHidden(/*bHidden*/false, row, row);
} }
} }
...@@ -4766,7 +4766,7 @@ ...@@ -4766,7 +4766,7 @@
{ {
var isHidden = ws.model._getRow(rez + cells.r1 + 1).hd; var isHidden = ws.model._getRow(rez + cells.r1 + 1).hd;
if(result[rez].visible == false && isHidden) if(result[rez].visible == false && isHidden)
ws.model._getRow(rez + cells.r1 + 1).hd = false; ws.model.setRowHidden(/*bHidden*/false, rez + cells.r1 + 1, rez + cells.r1 + 1);
} }
} }
buttons.splice(but,1); buttons.splice(but,1);
...@@ -5452,7 +5452,7 @@ ...@@ -5452,7 +5452,7 @@
{ {
//все открываем //все открываем
if(ws.model._getRow(row).hd) if(ws.model._getRow(row).hd)
ws.model._getRow(row).hd = false; ws.model.setRowHidden(/*bHidden*/false, row, row);
} }
} }
if(fColumns){ if(fColumns){
...@@ -5475,7 +5475,7 @@ ...@@ -5475,7 +5475,7 @@
{ {
if(arrHiddens[row] != undefined && arrHiddens[row] == true && !ws.model._getRow(row).hd) if(arrHiddens[row] != undefined && arrHiddens[row] == true && !ws.model._getRow(row).hd)
{ {
ws.model.setRowHeight(0,row,row); ws.model.setRowHidden(true, row, row);
} }
} }
......
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