暂时在这里总结了3种方法:
config: {
refs: {
sendMaint: 'sendMaint',
basicinfolist:'basicinfolist',
refreshButton: '#bill_refreshButon',
},
control: {
refreshButton: {
tap: 'onRefreshBill' // id: 'bill_refreshButton',
},
basicinfolist:{
viewDrawCommand: 'onSelHistory' //this.fireEvent('viewDrawCommand', record);
},
'sendMaint searchfield[action=cx]': { //xtype:searchfield,action:cx
change: 'onSelectChange2duox'
},
'sendMaint button[action=onSaveBtn]' : { //xtype:button,action:onSaveBtn
tap : 'onSaveBtn'
}
}