Hi,
I have a jqGrid in inline editing mode. When the user hits Enter, the record is sent to the server to save. The server returns a success:true or false which I handle in successFunc as follows:
function successFunc(data) {
d = jQuery.parseJSON(data.responseText);
if (!d.success) { alert(d.message); }
return d.success;
}
What I would like is that when d.success is false, the jqGrid should remain in edit mode and not restore. I tried adding a throw "exit" call after the alert. It works, but the Esc and Enter keys do not work any longer.
Is there any way to prevent jqGrid from restoring the row after save?
Thanks