-/*\r
- * Ext JS Library 2.2.1\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
Ext.onReady(function(){\r
\r
// NOTE: This is an example showing simple state management. During development,\r
// it is generally best to disable state management as dynamically-generated ids\r
// can change across page loads, leading to unpredictable results. The developer\r
- // should ensure that stable state ids are set for stateful components in real apps.\r
+ // should ensure that stable state ids are set for stateful components in real apps. \r
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());\r
\r
var myData = [\r
['The Home Depot, Inc.',34.64,0.35,1.02,'9/1 12:00am'],\r
['The Procter & Gamble Company',61.91,0.01,0.02,'9/1 12:00am'],\r
['United Technologies Corporation',63.26,0.55,0.88,'9/1 12:00am'],\r
- ['Verizon Communications',35.57,0.39,1.11,'9/1 12:00am'],\r
+ ['Verizon Communications',35.57,0.39,1.11,'9/1 12:00am'], \r
['Wal-Mart Stores, Inc.',45.45,0.73,1.63,'9/1 12:00am']\r
];\r
\r
}\r
\r
// create the data store\r
- var store = new Ext.data.SimpleStore({\r
+ var store = new Ext.data.ArrayStore({\r
fields: [\r
{name: 'company'},\r
{name: 'price', type: 'float'},\r
width:600,\r
title:'Array Grid'\r
});\r
-\r
grid.render('grid-example');\r
});
\ No newline at end of file