title: Reload page on add or edit of Jqgrid submit
body: <p>I have a jqgrid on my page which i use for adding data. I use the dialog method to add but when the user submits, i want to refresh the entire page, not just the grid.</p>
  
  <p>Does anyone know how I can achieve this?</p>
  
  <pre><code>$("#addSpecialItem").click(function () {
              jQuery("#specialItemGrid").jqGrid('editGridRow', "new",
                  { height: 380,
                      addCaption: "Special Item",
                      bSubmit: "Add to Order",
                      closeAfterAdd: true,
                      afterRefresh: function () {
                          window.location.reload();
                      }
                  });
          });
  </code></pre>