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

index 5fd9052..c9f1ee5 100644 (file)
@@ -452,6 +452,9 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
             }
             // we can honour xs/sm/md/xl ?
             var w = cm.getColumnWidth(i, sz) * unitWidth;
+            if (w===0) {
+                hidden = 'display:none;';
+            }
             // width should return a small number...
             if (i == last) {
                 w+=rem; // add the remaining with..