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

index 1ebd463..111b284 100644 (file)
@@ -837,6 +837,11 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
             
             for(var col=0;col < cols.length; col++) {
                 
+                if (rows[row].getAttribute('xls:width')) {
+                    this.setColumnWidth(col, 1 * rows[row].getAttribute('xls:width'));
+                    console.log('setting column width!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
+                }
+                
                 var colspan = cols[col].getAttribute('colspan');
                 colspan  = colspan ? colspan *1 : 1;