Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / examples / charts / TipsChart.js
index 7f21d18..2df4ce6 100644 (file)
@@ -74,6 +74,7 @@ Ext.onReady(function () {
     var grid = Ext.create('Ext.grid.Panel', {
         store: gridStore,
         height: 130,
+        width: 480,
         columns: [
             {
                 text   : 'name',
@@ -147,6 +148,7 @@ Ext.onReady(function () {
                         this.setTitle("Information for " + storeItem.get('name'));
                         pieStore.loadData(data);
                         gridStore.loadData(data);
+                        grid.setSize(480, 130);
                     }
                 }
             }]