dhtmlx window setModal issue


we are using dhtmlx window in our application, when we use setModel(true) the background is blur and user wont allow to access any thing which is wonderful. But my question is

Through mouse he cant access any thing but through keyboard he can navigate any element in the background and can change the values. how to control that.

we are using dhtmlx2.0 complete version.


It is correct behavior. setModal sets the transparent container over the page content, but it doesn’t block events on the page.

Unforunately there is no univesal solution to block absolutely all onkeydown events. In each separate case case it must be done differently.

You can try to use the following approach to block keyboard actions:

document.body.onkeydown = function(e){

return false