projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eead93
)
Roo/bootstrap/Table.js
author
leon
<leon@roojs.com>
Wed, 30 Nov 2022 05:51:28 +0000
(13:51 +0800)
committer
leon
<leon@roojs.com>
Wed, 30 Nov 2022 05:51:28 +0000
(13:51 +0800)
Roo/bootstrap/Table.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Table.js
b/Roo/bootstrap/Table.js
index
afa82a3
..
a79172b
100644
(file)
--- a/
Roo/bootstrap/Table.js
+++ b/
Roo/bootstrap/Table.js
@@
-907,6
+907,34
@@
Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, {
return footer;
},
+
+ renderSummaryFooter : function()
+ {
+ var footer = {
+ tag: 'tfoot',
+ cn : []
+ };
+
+ var cm = this.cm;
+ this.totalWidth = 0;
+
+ for(var i = 0, len = cm.getColumnCount(); i < len; i++){
+
+ var config = cm.config[i];
+
+ var c = {
+ tag: 'td',
+ cls : 'x-fcol-' + i,
+ style : '',
+
+ html: cm.config[i].footer
+ };
+
+ footer.cn.push(c)
+ }
+
+ return footer;
+ },