grid row

if(counter<=0)

{

when i inser the value through grid then this code is O.K



BUT at the time of the updation this code give the error



like _childindex is null or not and object when i use the code



mygrid.cellByIndex(i,0).setValue(myvalue);



then object is not suppored







var rowid=mygrid.getRowIndex(mygrid.getSelectedId());

alert(‘row id=’+rowid);

// alert(mygrid.rowsCol.length);

// var myvalue=mygrid.cells(4,5).getValue();

var myvalue=mygrid.cells(mygrid.getSelectedId(),5).getValue();

alert(‘myvlue…’+mygrid.getRowsNum());



for(var i=rowid+1;i<mygrid.rowsCol.length;i++)

{

alert(‘inside’);

//mygrid.cells(mygrid.getRowId(i),5).setValue((mygrid.getSelectedRowId(),5).getValue());

mygrid.cells(i+1,5).setValue(myvalue);

mygrid.cells(i+1,6).setValue(’’);

mygrid.cells(i+1,7).setValue(’’);



}

counter=counter+1;



}

What version of dhtmlxGrid do you use? Please send us code example where this issue occurs at the support@dhtmlx.com