Roo/bootstrap/panel/Grid.js
authorAlan Knowles <alan@roojs.com>
Fri, 14 Jul 2017 02:28:12 +0000 (10:28 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Jul 2017 02:28:12 +0000 (10:28 +0800)
Roo/bootstrap/panel/Grid.js

index 6a211af..53c80c0 100644 (file)
@@ -21,6 +21,16 @@ Roo.bootstrap.panel.Grid = function(config)
     config.el = this.wrapper;
     //this.el = this.wrapper;
     
+      if (config.container) {
+        // ctor'ed from a Border/panel.grid
+        
+        
+        this.wrapper.setStyle("overflow", "hidden");
+        this.wrapper.addClass('roo-grid-container');
+
+    }
+    
+    
     if(config.toolbar){
         var tool_el = this.wrapper.createChild();    
         this.toolbar = Roo.factory(config.toolbar);