⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 employeepropertygrid.js

📁 一个struts和extjs得源码
💻 JS
字号:
/*
 * 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);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -