I use a kendo Grid
I need to rewrite the keyboard events to modify the behavior of the grid navigation. If fact when the user press up or down key on keyboard I would like to change the selected line with the focus (and not only the focus as it act now).
Here is my grid and my script :
<div id="my-grid">
<div class="widget" id="grid" kendo-grid
data-navigatable="true"
data-scrollable='{"virtual":"true"}'
...
</div>
</div>
<script type="text/javascript">
$("#my-grid").keypress(function () {
console.log("Handler for .keypress() called.");
});
</script>
The script works fine for all keys except the keys that are already used in the kendo grid. When I press up left right down enter space keys the console.log is not executed.
Could you explain me why and how I can handle these specific key with kendo grid? Thank you.