Roo/bootstrap/Table.js
authorEdward <edward@roojs.com>
Mon, 17 Sep 2018 04:15:43 +0000 (12:15 +0800)
committerEdward <edward@roojs.com>
Mon, 17 Sep 2018 04:15:43 +0000 (12:15 +0800)
Roo/bootstrap/Table.js

index 110e6b8..b9d697b 100644 (file)
@@ -316,7 +316,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         
         this.mainBody = this.el.select('tbody', true).first();
         this.mainHead = this.el.select('thead', true).first();
-        
+        this.mainFoot = this.el.select('tfoot', true).first();
         
         
         
@@ -752,8 +752,12 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
             }, this);
         }
         
+        var tfoot = this.el.select('tfoot', true).first();
+        
         if(this.footerShow && this.autoHideFooter){
             
+            
+            
             this.footer.hide();
             
             if(this.footer.pageSize < ds.getCount()){