X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/examples/remoteload/EmployeePropertyGrid.js diff --git a/examples/remoteload/EmployeePropertyGrid.js b/examples/remoteload/EmployeePropertyGrid.js deleted file mode 100644 index c6c671f5..00000000 --- a/examples/remoteload/EmployeePropertyGrid.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - -Ext.ns('App'); - -App.EmployeePropertyGrid = Ext.extend(Ext.grid.PropertyGrid, { - load: function(config) { - Ext.apply(config, { - url: this.url, - success: this.onLoad, - scope: this - }); - Ext.Ajax.request(config); - }, - onLoad: function(response, opts) { - var json = Ext.decode(response.responseText); - this.setSource(json); - } -}); -Ext.reg('employeepropertygrid', App.EmployeePropertyGrid);