Issue with smartrendering and addrow

Hi

Iam using dhtmlgrid1.5

In this iam using smartrendering and splitAt(1) functionality.While adding a row iam getting an javascript error like “_child indexes is null or not an object”.I am adding new row at the end of the grid.Intially it shows first records.At that time if i add a row i am getting this error.If i scroll down to the grid and then add that row iam not getting this error.

Previously it works fine.But now error is coming.Please provide me solution as early as possible.I wrote the code as below



newrow[0]=1;

mygrid.addRow(id,newrow,-1);

mygrid.sortRows(0);

mygrid.selectRowById(id);

mygrid.showRow(id);

mygrid.selectCell(id,0);





Thanks

aalekhya

You are mixing row Id and row Index

mygrid.selectRowById(id); //correct
mygrid.showRow(id); //correct
mygrid.selectCell(id,0); //incorrect, command require row Index, not row ID