а

Editor object grid cell in edit state/mode


#1

Hello,

How can i get editor object of cell grid in edit state/mode.?

In dhtmlx 5 i did like this

myGrid.attachEvent(“onEditCell”, function(stage,rId,cInd,nValue,oValue){
if(stage == 1){
this.editor.obj. …
}
}

Thank you


#2

Unfortunately, currently in the dhtmlxGrid 6 there is no access to the cell editor object.


#3

Hello

How would we get to know or catch the key code value if pressing keyboard button ?


#4

There are no keypress events in the dhtmlxGrid 6.
You may try to use the edit events of the dhtmlxGrid to control the edit process:
https://docs.dhtmlx.com/suite/grid__api__grid_beforeeditstart_event.html
https://docs.dhtmlx.com/suite/grid__api__grid_aftereditstart_event.html
https://docs.dhtmlx.com/suite/grid__api__grid_beforeeditend_event.html
https://docs.dhtmlx.com/suite/grid__api__grid_aftereditend_event.html


#5

Sir,
I have no idea, could you show me how to achive it with those event ?

Thank you