examples/grid/viewpanel.js
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 09:17:07 +0000 (17:17 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 09:17:07 +0000 (17:17 +0800)
examples/grid/viewpanel.js

index 34ec90a..ad223e3 100644 (file)
@@ -77,6 +77,16 @@ Roo.onReady(function(){
        
     });
     
+   
+
+    var layout = Roo.BorderLayout.create({
+        center: {
+            margins:{left:3,top:3,right:3,bottom:3},
+            panels: [new Roo.GridPanel(grid)]
+        }
+    }, 'grid-panel');
+
+
     // render it
     grid.render();