Delay on firing event when using keys for navigation


I have a grid connected to a form. When selecting a new row the form loads data. (onSelect event). It is possible to navigate the grid using arrow up and down keys.

Problem is if someone press and hold down a arrow key in the grid, this will fire a lot of events and requests on the server.

Is it possible to put some kind of delay on the event, or another way to prevent the event from firing until someone release the key?

I have the same issue with a dhtmlx tree where its also possible to using arrow keys.


Unfortunately calling the event with the delay for controlling the pressed keys is not supported.