Ок, now copy-paste solution that works at least for me
onSelectRow: function(id){
$('#grid').jqGrid("editRow", id, true, '', '', '', '', reloadTable);
},
// more confir
// reload table after submit. Put it somewhere in your JS file
function reloadTable(result) {
$('#grid').trigger("reloadGrid");
}