dhtmlxCombo onKeyPressed with ESC key

Hello,

I have been trying to capture pressing the escape key when editing a dhtmlxcombo (which is attached to a grid). I have been able to use the onKeyPressed event with other keys (such as backspace), but I have been unable to get this to work with escape. I was wondering if anyone here has any suggestions to get this to work?

Thanks.

Hello,

we have reproduced the problem and will try to solve it.

Currently you may use the following approach to handle esc press:

dhtmlxEvent(yourCombo.DOMelem_input,"keydown",function(e){ if((e||event).keyCode==27){ /*your code here*/ } });

dhtmlxEvent sets event listener to html element that is set in the 1st parameter