projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d1719
)
Roo/bootstrap/Table.js
author
leon
<leon@roojs.com>
Wed, 30 Nov 2022 07:43:23 +0000
(15:43 +0800)
committer
leon
<leon@roojs.com>
Wed, 30 Nov 2022 07:43:23 +0000
(15:43 +0800)
Roo/bootstrap/Table.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Table.js
b/Roo/bootstrap/Table.js
index
bfd7cdb
..
fcbb0e1
100644
(file)
--- a/
Roo/bootstrap/Table.js
+++ b/
Roo/bootstrap/Table.js
@@
-908,6
+908,32
@@
Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, {
return footer;
},
+
+ renderSummaryFooter : function()
+ {
+ var footer = {
+ tag: 'tfoot',
+ cn : []
+ };
+
+ var cm = this.cm;
+
+ for(var i = 0, len = cm.getColumnCount(); i < len; i++){
+
+ var c = {
+ tag: 'td',
+ cls : 'x-fcol-' + i,
+ style : '',
+ html: ''
+ };
+
+ footer.cn.push(c)
+ }
+
+ return footer;
+ },
+
+
onLoad : function()
{