Ext.EventManager.on(window, 'keydown', function(e, t) { if (e.getKey() == e.BACKSPACE && (!/^input$/i.test(t.tagName) || t.disabled || t.readOnly)) { e.stopEvent(); } })