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
2010-09-17 20:58:56
So you reload the whole page and grid for a form submission? Did you try doing it using AJAX?
Marcus
2010-09-17 21:10:19
No, we don't reload. We submit the form with AJAX, as you guessed.
Craig Stuntz
2010-09-17 22:13:13
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
2010-09-18 16:49:29
We use Malsup's ajaxForm plug-in for jQuery. Works fine and there are examples on the site.
Craig Stuntz
2010-09-18 18:25:20
Thanks, will check it out..
Marcus
2010-09-20 09:32:19