Pman.Gnumeric.js
authorEdward <edward@roojs.com>
Mon, 15 Apr 2019 03:36:38 +0000 (11:36 +0800)
committerEdward <edward@roojs.com>
Mon, 15 Apr 2019 03:36:38 +0000 (11:36 +0800)
Pman.Gnumeric.js

index 1a130d1..7f7d3c7 100644 (file)
@@ -1188,17 +1188,17 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         
         // step 1 - work out how many columns it will span..
         // lets hope the spreadsheet is big enought..
-        var colwidth = 0;
-        var endcol=col;
-        for ( endcol=col;endcol <100; endcol++) {
-            if (!this.colInfo[endcol]) {
-                this.colInfo[endcol] = 100; // eak fudge
-            }
-            colwidth += this.colInfo[endcol];
-            if (colwidth > width) {
-                break;
-            }
-        }
+//        var colwidth = 0;
+//        var endcol=col;
+//        for ( endcol=col;endcol <100; endcol++) {
+//            if (!this.colInfo[endcol]) {
+//                this.colInfo[endcol] = 100; // eak fudge
+//            }
+//            colwidth += this.colInfo[endcol];
+//            if (colwidth > width) {
+//                break;
+//            }
+//        }
         
         soi.setAttribute('ObjectBound',
             //gnumeric_colRowToName(row,col) + ':' + gnumeric_colRowToName(row+1,col+1));