Roo/bootstrap/Table.js
authorAlan Knowles <alan@roojs.com>
Tue, 27 Jul 2021 03:41:02 +0000 (11:41 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 27 Jul 2021 03:41:02 +0000 (11:41 +0800)
Roo/bootstrap/Table.js

index 437110e..8d23fc7 100644 (file)
@@ -1528,6 +1528,8 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
     
     onHiddenChange : function(colModel, colIndex, hidden)
     {
+        /*
+        this.cm.setHidden()
         var thSelector = '#' + this.id + ' .x-hcol-' + colIndex;
         var tdSelector = '#' + this.id + ' .x-col-' + colIndex;
         
@@ -1538,7 +1540,8 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
             this.CSS.updateRule(thSelector, "display", "none");
             this.CSS.updateRule(tdSelector, "display", "none");
         }
-        
+        */
+        // onload calls initCSS()
         this.onHeaderChange();
         this.onLoad();
     },