Roo/bootstrap/Table.js
authorAlan Knowles <alan@roojs.com>
Mon, 26 Jul 2021 04:21:17 +0000 (12:21 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 26 Jul 2021 04:21:17 +0000 (12:21 +0800)
Roo/bootstrap/Table.js

index e78b1e4..f242ce6 100644 (file)
@@ -427,6 +427,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         
         // we can honour xs/sm/md/xl  as widths...
         // we first have to decide what widht we are currently at...
+        var sz = Roo.bootstrap.getGridSize();
         
         
         
@@ -437,6 +438,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
                 hidden = 'display:none;';
             }
             // we can honour xs/sm/md/xl ?
+            var w = cm.getColumnWidth(i, sz);
             
             
             var width = "width:" + (cm.getColumnWidth(i) || 100) + "px;";