+++ /dev/null
-/*\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.ns('App');\r
-\r
-App.EmployeePropertyGrid = Ext.extend(Ext.grid.PropertyGrid, {\r
- load: function(config) {\r
- Ext.apply(config, {\r
- url: this.url,\r
- success: this.onLoad,\r
- scope: this\r
- }); \r
- Ext.Ajax.request(config);\r
- },\r
- onLoad: function(response, opts) {\r
- var json = Ext.decode(response.responseText);\r
- this.setSource(json); \r
- }\r
-});\r
-Ext.reg('employeepropertygrid', App.EmployeePropertyGrid);\r