Roo/bootstrap/Table.js
[roojs1] / Roo / bootstrap / Table.js
index 711de33..ae9e81c 100644 (file)
@@ -345,9 +345,6 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
                 cfg.cn.push(this.renderFooter());
             }
 
-            if(!this.footerShow && this.summaryFooterShow) {
-                cfg.cn.push(this.renderSummaryFooter());
-            }
             // where does this come from?
             //cfg.cls+=  ' TableGrid';
         }
@@ -925,7 +922,6 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
                 tag: 'td',
                 cls : 'x-fcol-' + i,
                 style : '',
-                
                 html: ''
             };
             
@@ -977,6 +973,16 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
                 }
                 
             }, this);
+            if(!this.footerShow && this.summaryFooterShow) {
+                var cellObjects = [];
+    
+                var id = Roo.id();
+    
+                cellObjects.push({
+                    container : id,
+                    cfg : value 
+                })
+            }
         } else if (this.empty_results.length) {
             this.el.mask(this.empty_results, 'no-spinner');
         }