from表双击某行执行
items: [
{
xtype : "textfield",
fieldLabel : '姓名',
emptyText : '请输入姓名',
name : "NAME",
id : "NAME",
width : 200
}, {
xtype: 'combo',
store:new Ext.data.SimpleStore({
fields: ['Id', 'Name'],
data: [ [1,'男'],[0,'女'] ]
})
},{
xtype : "textfield",
fieldLabel : '住址',
emptyText : '请输入地址',
name : "ADRESS",
width : 200
}
],
listeners: {//双击事件
"dblclick": { fn: this.doUpdate, scope: this},
}
this.doUpdate
用 doUpdate:function(){}