Roo/bootstrap/Table.js
authorEdward <edward@roojs.com>
Wed, 25 Jul 2018 05:18:36 +0000 (13:18 +0800)
committerEdward <edward@roojs.com>
Wed, 25 Jul 2018 05:18:36 +0000 (13:18 +0800)
Roo/bootstrap/Table.js

index d91b859..95221b5 100644 (file)
@@ -589,7 +589,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
             
             var c = {
                 tag: 'th',
-                cls : 'roo-bootstrap-thead-row-' + rowIndex,
+                cls : 'roo-bootstrap-thead-col-' + i,
                 style : '',
                 html: cm.getColumnHeader(i)
             };
@@ -669,10 +669,6 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
 
             });
             
-            if(config.hidden){
-                c.cls += ' hidden';
-            }
-            
             header.cn.push(c)
         }