Pman.Gnumeric.js
authorEdward <edward@roojs.com>
Wed, 27 Mar 2019 08:36:00 +0000 (16:36 +0800)
committerEdward <edward@roojs.com>
Wed, 27 Mar 2019 08:36:00 +0000 (16:36 +0800)
Pman.Gnumeric.js

index 8d451ca..21df21c 100644 (file)
@@ -838,7 +838,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
             for(var col=0;col < cols.length; col++) {
                 
                 if (cols[col].getAttribute('xls:width')) {
-                    this.setColumnWidth(col, 1 * rows[row].getAttribute('xls:width'));
+                    this.setColumnWidth(col, 1 * cols[col].getAttribute('xls:width'));
                     console.log('setting column width!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
                 }