Commit 04013e11 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

setRowHidden поправлена как в Excel, никакие свойства кроме hd не меняются.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50884 954022d7-b5bf-4e40-9824-e11837661b57
parent 1f27e0da
...@@ -3150,12 +3150,7 @@ Woorksheet.prototype.setRowHidden=function(bHidden, start, stop){ ...@@ -3150,12 +3150,7 @@ Woorksheet.prototype.setRowHidden=function(bHidden, start, stop){
{ {
var oOldProps = oCurRow.getHeightProp(); var oOldProps = oCurRow.getHeightProp();
if(bHidden) if(bHidden)
{
if(true != oCurRow.CustomHeight)
oCurRow.h = null;
oCurRow.hd = bHidden; oCurRow.hd = bHidden;
oCurRow.CustomHeight = true;
}
else else
oCurRow.hd = null; oCurRow.hd = null;
var oNewProps = oCurRow.getHeightProp(); var oNewProps = oCurRow.getHeightProp();
......
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