From df8dc5dbadaada013d93668808d1876d8c1c228d Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 17 Sep 2018 12:15:43 +0800 Subject: [PATCH] Roo/bootstrap/Table.js --- Roo/bootstrap/Table.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Table.js b/Roo/bootstrap/Table.js index 110e6b8d6a..b9d697b166 100644 --- a/Roo/bootstrap/Table.js +++ b/Roo/bootstrap/Table.js @@ -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()){ -- 2.39.2