Skip to content Skip to sidebar Skip to footer

I Need Jqgrid To Refresh The Entire Page, Not Just The Grid

I need jqgrid to refresh the entire page, not just the grid I have a jqgrid that displays the job details of auto repairs. Right now, I have the grid reloading using the following

Solution 1:

If you really need to reload of the whole current HTML page you can call location.reload(); or location.reload(true);.

If you need just to refresh some elements on the page which are outside of grid you can include the values (subtotal and total) in the server response and fill the value inside of loadComplete or beforeProcessing callback. Inside of both loadComplete and beforeProcessing the first parameter data contains full server response. So you can get from the response the required values (subtotal and total) and use jQuery.val or some other method to modify the outside element of the page.

Post a Comment for "I Need Jqgrid To Refresh The Entire Page, Not Just The Grid"