Extjs 回车查询

  

listeners: {
afterRender: function (thisForm, options) {
this.keyNav = Ext.create('Ext.util.KeyNav', this.el, {
enter: function () {
//if (window.Rights.R1010101) {
thisForm.down('button[action=select]').fireEvent('click', thisForm.down('button[action=select]'));
//}
},
scope: this
});
}},

posted on 2016-07-07 14:43  在delphi路上  阅读(384)  评论(0编辑  收藏  举报