X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FTable.js;h=fcbb0e1e828b4b64e78a39781e63816bbf8ca71f;hb=70e36a32f6abdfa5eb6f49da211a68e41bc2999e;hp=bfd7cdb28e3d0980b8be5f44d7243336611190b5;hpb=82d17199591794cbf565141a26c2af3e5c477fd5;p=roojs1 diff --git a/Roo/bootstrap/Table.js b/Roo/bootstrap/Table.js index bfd7cdb28e..fcbb0e1e82 100644 --- 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() {