dhtmlxgrid delete row causes error

I am evaluating your current PRO version of dhtmlxgrid.

On client side I have a link in a cell which calls the function (passing the row id)



function deleteSelectedRows(sr) {

if(confirm(‘delete row ‘+sr+’?’)) {

mygrid.deleteRow(sr);

}

}



On the server side I am returning











where is the row id of the deleted row. On the client size the row gets deleted but a produces a javascript error



Line 857

Error: ‘_childIndexes’ is null or not an object



Please advise on a solution.

Please check if sid return correct id of a row which was deleted. If issue still occurs try to include dhtmlxdataprocessor_debug.js file to your page and send us log file.