How to Edit cell data?

Dear Support team,



I am trying to edit a cell on the grid, the code which i am using is



mygrid.callEvent(“onEditCell”,function(sid,tid){

             eidt_Row(sid,tid,mygrid.cells(sid,tid).getValue());

             return true;

                });



But here i am not able to get the row and column id’s, and also if i use like this grid data is not displaying, The Edited data i need to store it in the Database"



please help me how to edit a cell data.



Thanks In Advance

Uvaraj24

The onEditCell event provides parameters in different order than used in your snippet.
mygrid.callEvent(“onEditCell”,function(stage,sid,tid,value){
if (stage==2) //edit operation end
eidt_Row(sid,tid,value);
return true;
});