listeners: {
afterRender: function (thisForm, options) {
var els = Ext.DomQuery.select('input[type!=hidden]');  
Ext.create("Ext.util.KeyMap", this.el, {
key: 13,
fn: function (key, e) {
var el = e.target, target = els, ln = target.length;
for (var i = 0; i < ln; i++) {
if (target[i] == el) {
if (i + 1 == ln) {
target[0].focus();
} else {
target[i + 1].focus();
}
}
}
},
scope: this
});
}
},

相关文章:

  • 2021-12-18
  • 2021-07-19
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案