From: leon Date: Tue, 6 Dec 2022 08:21:30 +0000 (+0800) Subject: Roo/bootstrap/Table.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=22d9fcc5f54cc2c187afcd6c2ffd26932ea1e966 Roo/bootstrap/Table.js --- diff --git a/Roo/bootstrap/Table.js b/Roo/bootstrap/Table.js index a0bf31e325..86275758de 100644 --- a/Roo/bootstrap/Table.js +++ b/Roo/bootstrap/Table.js @@ -970,10 +970,11 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { }; for(var i = 0, len = cm.getColumnCount(); i < len; i++){ + var footer = typeof(cm.config[i].footer) == "function" ? cm.config[i].footer(ds, cm) : cm.config[i].footer; var td = { tag: 'td', cls : ' x-fcol-' + i, - html: cm.config[i].summaryFooter + html: footer }; tr.cn.push(td);