employeepropertygrid.js
来自「ext-2.3.0」· JavaScript 代码 · 共 26 行
JS
26 行
/*
* Ext JS Library 2.3.0
* 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);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?