![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Extjs
tom840520
这个作者很懒,什么都没留下…
展开
-
renderer使用
{ header: "变化(%)", width: 75, sortable: true, renderer: pctChange, dataIndex: 'pctChange' }, function pctChange(val) { if (val >...原创 2009-08-13 09:28:16 · 99 阅读 · 0 评论 -
查询,grid刷新
grid.getSelectionModel().selectFirstRow();//默认选择第一行 var store = new Ext.data.SimpleStore({ fields: [ { name: 'company' }, ...原创 2009-08-13 09:39:30 · 97 阅读 · 0 评论 -
xml读写
Ext.onReady(function() { Ext.BLANK_IMAGE_URL = "../images/olive/s.gif"; Ext.QuickTips.init(); Ext.form.Field.prototype.msgTarget = "side"; var store...原创 2009-08-13 10:27:38 · 73 阅读 · 0 评论 -
renderer 简单使用
},{ header:'对象', dataIndex:'node', renderer:function(value,meta,record){ var nodeType = Ext.util.Format.uppercase(r...原创 2009-08-13 10:59:32 · 525 阅读 · 0 评论 -
grid简单设置
listeners:{ 'dblclick':function(){ //request.getParameter("po"); //String title = po.getTitle(); //alert(node.text); var id = node.id; alert(id); ...原创 2009-08-13 11:19:13 · 174 阅读 · 0 评论 -
密码验证
{ fieldLabel: "管理密码", id:"pwA", name: "adminPW", value:"admin", inputType : "password", ...原创 2009-08-13 11:46:00 · 131 阅读 · 0 评论 -
combox
var state_Store = new Ext.data.SimpleStore({ fields : ['txt','val'], data : [['正常','0'],['异常','1'],['紧急','2']] }); var _state = new Ext.form.ComboBox({ name ...原创 2009-08-13 12:20:41 · 91 阅读 · 0 评论 -
extjs struts2分页
public String execute() throws Exception { HttpServletResponse response = ServletActionContext.getResponse(); response.setCharacterEncoding("utf-8"); List person = dao....原创 2009-08-14 10:37:14 · 87 阅读 · 0 评论 -
radio及combobox值
alert(Ext.get("comboPro").dom.value); alert(Ext.getCmp("comboPro").getValue()); buttons: [{ text: 'Save', ...原创 2009-08-17 20:20:10 · 113 阅读 · 0 评论