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

index 81edc63..110e6b8 100644 (file)
@@ -754,8 +754,11 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         
         if(this.footerShow && this.autoHideFooter){
             
+            this.footer.hide();
             
-            
+            if(this.footer.pageSize < ds.getCount()){
+                this.footer.show();
+            }
         }
         
         Roo.each(this.el.select('tbody td', true).elements, function(e){