Roo/bootstrap/Table.js
[roojs1] / Roo / bootstrap / Table.js
index cb120cd..ea63dbe 100644 (file)
@@ -1143,8 +1143,9 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
     
     onHiddenChange : function(colModel, colIndex, hidden)
     {
-        var thSelector = 'roo-bootstrap-col-' + colIndex;
-        var tdSelector = 'roo-bootstrap-col-' + colIndex;
+        var thSelector = 'roo-bootstrap-thead-col-' + colIndex;
+        var tdSelector = 'roo-bootstrap-tbody-col-' + colIndex;
+        
         this.css.updateRule(this.tdSelector+this.idToCssName(cid), "display", "");
         this.css.updateRule(this.splitSelector+this.idToCssName(cid), "display", "");