Custom key in grid


#1

For example:
I want to assign F2 to start/end editing in a grid.
Or reassign the behavior of Tab.

How should I do it?


#2

You may try to use the beforeKeyDown event:
https://docs.dhtmlx.com/suite/grid/api/grid_beforekeydown_event/


#3

Thanks. I will try this way


#4

https://snippet.dhtmlx.com/ec4uupd9

It does not have reaction for F2
Tab and Shift+Tab is OK


#5

Unfortunately only the keys that are using in the default key navigation can be caught.