2 * Ext JS Library 2.2.1
\r
3 * Copyright(c) 2006-2009, Ext JS, LLC.
\r
4 * licensing@extjs.com
\r
6 * http://extjs.com/license
\r
11 App.EmployeePropertyGrid = Ext.extend(Ext.grid.PropertyGrid, {
\r
12 load: function(config) {
\r
15 success: this.onLoad,
\r
18 Ext.Ajax.request(config);
\r
20 onLoad: function(response, opts) {
\r
21 var json = Ext.decode(response.responseText);
\r
22 this.setSource(json);
\r
25 Ext.reg('employeepropertygrid', App.EmployeePropertyGrid);
\r