From 8a9a685de2dddf18d79a2d62c1ae7ae5d82a0f73 Mon Sep 17 00:00:00 2001 From: leon Date: Wed, 30 Nov 2022 15:07:08 +0800 Subject: [PATCH] Roo/bootstrap/Table.js --- Roo/bootstrap/Table.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Roo/bootstrap/Table.js b/Roo/bootstrap/Table.js index 711de33d22..c9e5a25ac0 100644 --- a/Roo/bootstrap/Table.js +++ b/Roo/bootstrap/Table.js @@ -344,10 +344,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { if(this.footerShow){ cfg.cn.push(this.renderFooter()); } - - if(!this.footerShow && this.summaryFooterShow) { - cfg.cn.push(this.renderSummaryFooter()); - } + // where does this come from? //cfg.cls+= ' TableGrid'; } @@ -977,6 +974,16 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { } }, this); + if(!this.footerShow && this.summaryFooterShow) { + var cellObjects = []; + + var id = Roo.id(); + + cellObjects.push({ + container : id, + cfg : value + }) + } } else if (this.empty_results.length) { this.el.mask(this.empty_results, 'no-spinner'); } -- 2.39.2