PDA

View Full Version : how to disable IE browser HotKeys function with ExtJS



Periyasamy A
17 Dec 2013, 4:49 AM
How to disable IE browser related hotkey (F1,Alt+F,Alt+S etc...)

I want to override the functionality for IE related hotkey in my application(Example: If I press 'F1' want to open my application help instead of browser help)

Gary Schlosberg
18 Dec 2013, 7:36 PM
You probably want to take a look at KeyMap (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.util.KeyMap).

Keep in mind though, that certain keys or key combinations won't be possible. If the browser catches a hotkey and doesn't pass the event to the JavaScript engine, Ext never receives the event.