ExtJsの「specialkey」イベントでソースオブジェクトを取得するにはどうすればよいですか?
これは私のコントローラコードです:
init: function () {
this.control({
'login textfield[action=enter]': {
specialkey: this.on_KeyPress
}
});
}
.......................
on_KeyPress: function (f, e) {
if (e.getKey() == e.ENTER) {
Ext.Msg.alert('Keys', 'You pressed the Enter key');
*****I want to take 'textfield' object here*******
}
}
ありがとう!