How to get edited data or inserted data with JSON?

Hi, Thanks for your previous answer.
Your answer is helpful to our pjt.
at grid Job.
I did click
ADD

I insert data[ Ko, hiking, male,programer ,1982].
so the a inserted row will be (new Date()).valueOf(), Ko, hiking, male,programer ,1982

I want to get Json data with above inserted valus on gird after OnEdit Event.
So I want to transfer this json string to java server, and proceed DB insert sql.

so Can you let me know how to get json data with the full data what I edited on grid?

Unfortunately it is not available to get the dhtmlxgrid data in the json format.
You may iterate through the cells of any row and get the values of the cells.
For example:
mygrid.attachEvent(“onEditCell”, function(stage,rId,cInd,nValue,oValue){
if (stage==2){
mygrid.forEachCell(rId,function(cellObj,ind){
//execute code for each cell in row with required id
//cellObj - related cell object
//ind - column index
mygrid.cells(rId,ind).getValue();
});
}
return true
});