Ok, the problem is resolved. You must also add event parameters to the editRow call. They are used when saving ... really confused!
$('#grid').jqGrid('editRow', id, { keys: true,
aftersavefunc: function (rowid, response) { alert('after save'); },
errorfunc: function (rowid, response) { alert('...we have a problem'); }
});
source
share