Hello,
How do you delete this? Do you use delGridRow? If this is the case – yes this is expected behavior.
Also you should check if the next row is a subgrid. Below is the code (not tested) which can do this
before deleting row with id=rowid with delGridRow do
var delrow = $(“#mygrid”).getInd(rowid); // get the index of the row
if(delrow) {
// check to see if the next row has class ui-subgrid
var rtodelete = $(“#mygrid”)[0].rows[delrow+1];
if( rtodelete.className == “ui-subgrid” )
$(rtodelete).remove()
}
and the delete the parent.
Little complicated, but will do the job
Regards
Tony