Hello all,
I need to allow the user to enter keys such as alt+ctrl+. The grid allows only ctrl and shift.
Does anyone know how to get the full key event from keypress in a grid or allow bubble so my jQuery code can catch the event?
Thanks!
Nick
Hello all,
I need to allow the user to enter keys such as alt+ctrl+. The grid allows only ctrl and shift.
Does anyone know how to get the full key event from keypress in a grid or allow bubble so my jQuery code can catch the event?
Thanks!
Nick
You can use “onKeyPress” event. 4th parameter of event handler is native JavaScript event wich contain all information about event:
mygrid.attachEvent("onKeyPress",onKeyPressed);
function onKeyPressed(code,ctrl,shift,e){
var alt=e.altKey;
...
}