ExtJs textfield 增加键盘事件F8
listeners : {
'render': function (text) {
new Ext.KeyMap(text.getEl(), [{
key: 119, //F8
fn: function () {
alert("F8 pressed");
},
scope: this
}]);
}
ExtJs textfield 增加键盘事件F8
listeners : {
'render': function (text) {
new Ext.KeyMap(text.getEl(), [{
key: 119, //F8
fn: function () {
alert("F8 pressed");
},
scope: this
}]);
}