In your Editing/Default Edit example you make an AJAX call for every row with ‘saveRow’ regardless of whether it was modified. I attached an event handler to each field that is editable and only iterated over those row ids with jQuery(“#list1”).jqGrid(‘saveRow’, id);
The problem I see is that after the calls are complete that only only those rows switch back to normal state. The rest of the rows are still in edit state.
https://gist.github.com/melissathinkiq/db38ec75d3215ab8c41f5de6f54f33ec
Thanks.
You can use restoreRow for the id that are not changed.
jQuery(“#tags”).jqGrid(“restoreRow”, id);
I’ll try to change demo and update.
Demo code attached. (lines highlighted)
http://phpgrid.org/demo/demos/editing/default-edit.phps#L.99,133-136,146,181-186
Is there any way to create custom icons for Edit All and Save All buttons that are placed where the grid operation action buttons are?