Roo/bootstrap/Table.js
[roojs1] / Roo / bootstrap / Table.js
index 515ec36..64a9f9d 100644 (file)
@@ -314,9 +314,9 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         
         //Roo.log('initEvents with ds!!!!');
         
-        this.mainBody = this.el.select('tbody', true).first();
-        this.mainHead = this.el.select('thead', true).first();
-        this.mainFoot = this.el.select('tfoot', true).first();
+        this.mainBody = this.el.select('tbody', true).first().setVisibilityMode(Roo.Element.DISPLAY);
+        this.mainHead = this.el.select('thead', true).first().setVisibilityMode(Roo.Element.DISPLAY);
+        this.mainFoot = this.el.select('tfoot', true).first().setVisibilityMode(Roo.Element.DISPLAY);