Steps to reproduce:
1. In inline editing change make some change which causes server to return 4xx error code.
2. Correct the error and try to save again.
Observed:
Enter key is ignored. Changed data is lost. As notid in other thread probably Enter key binding is removed also if error has returned from server call.
Notes
This issue is described also in
/blog/?page_id=393&forum=1&topic=5672&watch=user
/blog/?page_id=393/help/ajax-validation-while-saving-an-inline-edit/
https://github.com/tonytomov/jqGrid/blob/master/js/grid.inlinedit.js
show two different names:
line 23 and 103 :
“restoreAfterErorr” : true
line 250:
if(o.restoreAfterError === true) {
I tried to use
function errorfunc(rowid, response) {
restoreAfterError = false;
restoreAfterErorr = false;
grid.restoreAfterError = false;
grid.restoreAfterErorr = false;
alert(response.responseText);
return true;
}
After error messagebox is shown but Enter key will not work. How to allow Enter key to save again after error ?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top