title: jqgrid inline editing methods
body: <p>This <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:inline_editing&amp;s%5B%5D=inline&amp;s%5B%5D=editing" rel="nofollow noreferrer">link</a> has:</p>
  
  <pre><code>editRow
  
  Calling conventions:
  
  jQuery("#grid_id").editRow(rowid, keys, oneditfunc, succesfunc, url, extraparam, aftersavefunc,errorfunc, afterrestorefunc);
  
  or when we use the new API
  
  jQuery("#grid_id").jqGrid('editRow',rowid, keys, oneditfunc, succesfunc, url, extraparam, aftersavefunc,errorfunc, afterrestorefunc);
  </code></pre>
  
  <p>I understand this one:</p>
  
  <pre><code>jQuery("#grid_id").editRow(rowid, keys, oneditfunc, succesfunc, url, extraparam, aftersavefunc,errorfunc, afterrestorefunc);
  </code></pre>
  
  <p>Is an actual call to edit the row with row id rowid. So it actually puts the row into edit mode.</p>
  
  <p>In my jqgrid it is setup so that each row has a pencil icon beside it and you click it to edit the row"</p>
  
  <p><img src="https://i.stack.imgur.com/NutQD.jpg" alt="enter image description here"></p>
  
  <p>So obviously I'm not manually calling that method to edit the row but the edit pencil click is automatically calling edit.</p>
  
  <p>What I'm wanting to set up is so that after editing you click the save icon and I want it so after you save a method is called namely:</p>
  
  <pre><code>function reload(rowid, result) {
              alert("Hi");
                  $("#list").trigger("reloadGrid"); 
              }
  </code></pre>
  
  <p>So I was thinking of using the code they specified for use with the new API:</p>
  
  <pre><code>jQuery("#grid_id").jqGrid('editRow',rowid, keys, '', reload);
  </code></pre>
  
  <p>I'm not sure how this works but I put this after my grid. I understand it is not a method call but setting it up to tell it what to do for when an editRow occurs.</p>
  
  <p>Well it doesn't work.</p>
  
  <p>Could someone tell me have I misinterpreted what that code actually does? If so what does it do? Also how to achieve the method call after submit for my scenario?</p>