Check documentation for the latest version of dhtmlxSuite onKeyPress DHTMLX Docs

onKeyPress

fires after a key has been pressed but before the default key processing starts

void onKeyPress(number code,boolean cFlag,boolean sFlag);
codenumberkey code
cFlagbooleancontrol key flag
sFlagbooleanshift key flag

Available only in PRO Edition

Example

grid.attachEvent("onKeyPress", function(code,cFlag,sFlag){
    // your code here
});

Back to top