Hi,
i have a simple JQgrid with some data, loaded from server. Two of the columns can be modified.
Additionally a have a “save”-Button that runs through all rows and calls the saveRow-Method for posting each row to the server:
$('#safeOfferSettingsButton').click(function() {
var changedRowsArr = jQuery(“#editoffer”).getChangedCells('all');
addMessage(“SAVE: changed rows: ” + changedRowsArr.length + ““);
// run throug all rows and send save-requests.
var rowArr = jQuery(“#editoffer”).getRowData();
$.each(rowArr, function(index, value){
addMessage(“… saving ” + value[“id”]);
//jQuery('#editoffer').saveRow(value[“id”], false, '
//jQuery('#editoffer').jqGrid('saveRow', value[“id”], checkSaveResponse, “
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top