projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
05e11ff
)
Roo/bootstrap/Table.js
author
leon
<leon@roojs.com>
Wed, 30 Nov 2022 07:12:09 +0000
(15:12 +0800)
committer
leon
<leon@roojs.com>
Wed, 30 Nov 2022 07:12:09 +0000
(15:12 +0800)
Roo/bootstrap/Table.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Table.js
b/Roo/bootstrap/Table.js
index
ae9e81c
..
8da0d8a
100644
(file)
--- a/
Roo/bootstrap/Table.js
+++ b/
Roo/bootstrap/Table.js
@@
-973,15
+973,31
@@
Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, {
}
}, this);
}
}, this);
+
if(!this.footerShow && this.summaryFooterShow) {
var cellObjects = [];
if(!this.footerShow && this.summaryFooterShow) {
var cellObjects = [];
+
+ for(var i = 0, len = cm.getColumnCount(); i < len; i++){
+
+ var config = cm.config[i];
+
+ cellObjects.push({
+ container : id,
+ cfg : config.summaryFooter
+ })
+
+ var c = {
+ tag: 'td',
+ cls : 'x-fcol-' + i,
+ style : '',
+
+ html: ''
+ };
+
+ footer.cn.push(c)
+ }
var id = Roo.id();
var id = Roo.id();
-
- cellObjects.push({
- container : id,
- cfg : value
- })
}
} else if (this.empty_results.length) {
this.el.mask(this.empty_results, 'no-spinner');
}
} else if (this.empty_results.length) {
this.el.mask(this.empty_results, 'no-spinner');