Required library edition:
This event occurs after a key was pressed but before the default key processing starts. onKeyPress event passes the following parameters:
grid.attachEvent("onKeyPress", function(code,cFlag,sFlag){});