I am updating a column value in jqgrid. After update i want to reload the grid and maintain page number with the updated data. For ex. if I am updating value in page 2. I want to reload the jggrid with updated value and page 2. I am using this code for reloading the grid.
function reload(){
$("#table1").setGridParam({
datatype : 'json',
page : 1
}).trigger('reloadGrid');
}
But it is reloading the grid with page 1.
I tried using
$("#table1").trigger("reloadGrid", [{current:true}]);
But it is not working. Please provide a solution.