-/*!
- * 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
- var btn = Ext.get("create-grid");\r
- btn.on("click", function(){\r
- btn.dom.disabled = true;\r
- \r
- // create the grid\r
- var grid = new Ext.ux.grid.TableGrid("the-table", {\r
- stripeRows: true // stripe alternate rows\r
- });\r
- grid.render();\r
- }, false, {\r
- single: true\r
- }); // run once\r
-});