I am using onSelectRow method of jqGrid and calling aftersavefunc but this function does not execute when row is successfully saved, we are using clientarray to save data.
In jqgrid documentation it is written that it works with clientarray as well.
Code used is as below :-
onSelectRow: function (id) {
$('#grdTasks').jqGrid('saveRow', lastsel, true, 'clientArray', false,
{ aftersavefunc: function ()
{
alert('saved');
}
})
Try to set parameters with object: