From 2c97f003166bc67bc21e21214f29838dc4e10d83 Mon Sep 17 00:00:00 2001 From: leon Date: Wed, 30 Nov 2022 15:47:55 +0800 Subject: [PATCH] Roo/bootstrap/Table.js --- Roo/bootstrap/Table.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Roo/bootstrap/Table.js b/Roo/bootstrap/Table.js index 51e8dbcb0e..9ee0d0647b 100644 --- a/Roo/bootstrap/Table.js +++ b/Roo/bootstrap/Table.js @@ -967,11 +967,27 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { if(!this.footerShow && this.summaryFooterShow) { + var row = { + tag : 'tr', + cn : [] + }; + + tfoot.createChild(row); + + var _this = this; + + if(row.cellObjects.length){ + Roo.each(row.cellObjects, function(r){ + _this.renderCellObject(r); + }) + } + for(var i = 0, len = cm.getColumnCount(); i < len; i++){ var value = cm.config[i].summaryFooter; Roo.log('value [' + i + '] : ' + value); + } } -- 2.39.2