From 22d9fcc5f54cc2c187afcd6c2ffd26932ea1e966 Mon Sep 17 00:00:00 2001 From: leon Date: Tue, 6 Dec 2022 16:21:30 +0800 Subject: [PATCH] Roo/bootstrap/Table.js --- Roo/bootstrap/Table.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.2