tags:

views:

105

answers:

1

We are aware of how to allow users to edit multiple jqGrid rows - but how would one have a single save button that saved all edited rows?

+1  A: 

We do it manually (not with a jqGrid feature).

We have a custom formatter which draws editors and we put a <form> tag around the whole grid, with a submit button at the bottom.

Craig Stuntz
So you reload the whole page and grid for a form submission? Did you try doing it using AJAX?
Marcus
No, we don't reload. We submit the form with AJAX, as you guessed.
Craig Stuntz
Any way you could post a code snippet to get the feel of how you accomplished this? (We're new to AJAX and jqGrid)
Marcus
We use Malsup's ajaxForm plug-in for jQuery. Works fine and there are examples on the site.
Craig Stuntz
Thanks, will check it out..
Marcus