Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jun 15, 2007 11:09
open dhtmlx forum
How can I attach KeyPress Events which only works with special Keys and dont avert the normal Key Support? Thx


Answer posted on Jun 15, 2007 17:36
There is no way to attach some separate event, but you can use onKeyPress event and the default key reactions in the same time, just return true from your custom code

grid.attachEvent("onKeyPress",function(key){
    //any code here
    return true;
});

Not returning anything, or returning false will block default key processing.
Answer posted by Inga (Support) on Nov 30, 2014 04:19

The information connected with calendar scheduling and javascripts popup also can help you, so please check it too.