onKeyPress

occurs when keyboard key is pressed for the control in focus

void onKeyPress(number code,event e){ ... };

Parameters

codenumberkey code
eeventevent object

Example

text.attachEvent("onKeyPress", function(code, e){
    //code
});

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web ui framework and page of data view html5 product.