¡@

Home 

2014/10/16 ¤W¤È 12:04:37

jquery Programming Glossary: lastselectedrow

jqGrid inline edit: how to save again if post returns error [duplicate]

http://stackoverflow.com/questions/6217630/jqgrid-inline-edit-how-to-save-again-if-post-returns-error

again after error. How to allow to save correct row data after 400 error is returned script type text javascript var lastSelectedRow function var grid #grid grid.jqGrid url ' Grid GetData' datatype json mtype 'POST' scroll 1 multiselect true multiboxonly.. 'bindKeys' onEnter function rowid doeditRow rowid function doeditRow rowID var grid2 #grid if rowID rowID lastSelectedRow grid2.jqGrid 'restoreRow' lastSelectedRow lastSelectedRow rowID invokeEditRow function errorfunc rowID response todo.. rowid function doeditRow rowID var grid2 #grid if rowID rowID lastSelectedRow grid2.jqGrid 'restoreRow' lastSelectedRow lastSelectedRow rowID invokeEditRow function errorfunc rowID response todo why this does not allow Enter key to continue..