I am trying to reload the grid with new data which is just been changed , so that user can see the new data with modification .
my approach:
jQuery("#relCasePick").click( function(){
var ids=jQuery("#list10").jqGrid('getGridParam','selarrrow');
$.ajax({
type: "POST",
url: "/cpsb/unprocessedOrders.do?method=releaseToCasePick&orderNumbers="+ids,
data: JSON.stringify(ids),
dataType: "json"
});
jQuery("#list10").setGridParam({rowNum:10,datatype:"json"}).trigger('reloadGrid');
});
when I am clicking this button.. I am sending the data correctly but when I am reloading its not updated with new data....I will really appreciate if someone can help ..