Roo/bootstrap/panel/Grid.js
authorAlan Knowles <alan@roojs.com>
Mon, 10 Jul 2017 03:04:07 +0000 (11:04 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 10 Jul 2017 03:04:07 +0000 (11:04 +0800)
Roo/bootstrap/panel/Grid.js

index 253ced2..93303f4 100644 (file)
@@ -33,9 +33,10 @@ Roo.bootstrap.panel.Grid = function(config){
     // xtype created footer. - not sure if will work as we normally have to render first..
     if (this.footer && !this.footer.el && this.footer.xtype) {
         
-        this.footer.container = this.grid.getView().getFooterPanel(true);
+        var ctr = this.grid.getView().getFooterPanel(true);
         this.footer.dataSource = this.grid.dataSource;
         this.footer = Roo.factory(this.footer, Roo);
+        this.footer.render(ctr);
         
     }