DHTMLX Grid

A cell in a grid is of type “txt” (Text area).After entering some data in the cell and tab out,ctrl is undefined in detectkeypress.And also in the process of filling the data in the cell and tab out,that value in the cell is not captured.How do we solve this?

A cell in a grid is of type “txt” (Text area).After entering some data in the cell and tab out,ctrl is undefined in detectkeypress
Please descripbe what do you mean under “detectkeypress”? Do you what to capture ctrl click using “onKeyPress” event?
>>And also in the process of filling the data in the cell and tab out,that value in the cell is not captured
To capture value which was entered to the cell you use “onEditCell” event:

mygrid.attachEvent(“onEditCell”,function(stage,rowId,cellIndex,newValue,oldValue){
if (stage==2){//if editor was closed
alert(newValue);



return true;


}


return true;


})