Ext.getDoc().on(‘keydown‘,function(e){
???if(e.getKey() == 8 && e.getTarget().type ==‘text‘ && !e.getTarget().readOnly){ ?
?????????
???}else if(e.getKey() == 8 && e.getTarget().type ==‘textarea‘ && !e.getTarget().readOnly){ ??
?????
???}else if(e.getKey() == 8){ ?
???????e.preventDefault(); ?
???} ?
});
Extjs 取消backspace事件
原文地址:http://www.cnblogs.com/myknow/p/7742651.html