Roo/bootstrap/Table.js
authoredward <edward@roojs.com>
Tue, 2 Jan 2018 07:44:30 +0000 (15:44 +0800)
committeredward <edward@roojs.com>
Tue, 2 Jan 2018 07:44:30 +0000 (15:44 +0800)
Roo/bootstrap/Table.js

index f953799..76313f4 100644 (file)
@@ -343,6 +343,10 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         if (this.footer) {
             this.footer.parentId = this.id;
             this.footer.onRender(this.el.select('tfoot tr td').first(), null);
+            
+            if(this.lazyLoad){
+                this.el.select('tfoot tr td').first().setVisibilityMode(Roo.Element.DISPLAY).hide();
+            }
         } 
         
         this.maskEl = new Roo.LoadMask(this.el, { store : this.ds, msgCls: 'roo-el-mask-msg' });