PDA

View Full Version : Ext.KeyMap, KeyUp event



bhavana
27 Aug 2013, 1:08 AM
I want to call function on keyUp event below sample code is doing on .ENTRE

var map = new Ext.KeyMap(this.field.el, [{
key:Ext.EventObject.ENTER
,scope:this
,fn:this.myFunction
}

Gary Schlosberg
28 Aug 2013, 3:26 PM
Can you please clarify your question? Are you trying to make that code sample work for you in your project?

bhavana
28 Aug 2013, 7:40 PM
Yes the above sample code calls the function when enter is pressed, but i want to call the function on keyup.

evant
28 Aug 2013, 8:17 PM
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.util.KeyMap-cfg-eventName