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.
You can use restoreRow for the id that are not changed.
I’ll try to change demo and update.
Demo code attached. (lines highlighted)
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?
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!