Keep edit form open after submit
In form only mode to edit an existing record, the form will remain open after submit.
Option 2:
If not form only mode, add the following javascript before
</body>
should also do the trick. Double click to edit a row, and form will remain open after edit.Replace "
orders
" with your table name.jQuery(document).ready(function($){
var grid = $('#orders')[0];
$(grid).jqGrid('setGridParam',{
ondblClickRow: function(rowid) {
$(this).jqGrid('editGridRow', rowid,
{ recreateForm:true,
closeAfterEdit:false,
closeOnEscape:true,
reloadAfterSubmit:false})
}
});
});