Enter keypress event


#1

Team,
We were using DHTML4.x version. Now we are going to upgrade to 6.x version.
But in our existing application we have lot of functionality in Gird had written in Enter Keypress event of cell.

Ex: In older version we are using below lines of code
var gridCbTypes = new dhtmlXGridObject(‘gridbox’);
gridCbTypes.setOnEnterPressedHandler(“GridCbTypesKeypress”);

Could anyone pls help how to implement Enterkeypres event with Dhtmlx 6.2.

Thanks .


#2

Pleas,e try to use the before/afterKeyDown events:
https://docs.dhtmlx.com/suite/grid__api__grid_beforekeydown_event.html
https://docs.dhtmlx.com/suite/grid__api__grid_afterkeydown_event.html