I want to reload the edatagrid inside a subgrid on destroying the row.
onDestroy:function(index,row){
$(this).edatagrid('reload');//ddv.edatagrid('reload');//$('#ddv-'+index).edatagrid('reload');
}
I got the following error:
TypeError: row is undefined
_79c
deleteRow/<
each
each
deleteRow
$.fn.datagrid
_del/<
success
j
fireWith
x
b
The json reponse when deleting the row is below:
success true
isError false
msg Successfully deleted!
What could be the problem? Other options I tried are in the comment. Please help.