title: How to update jqgrid row id after saving by formatter action save button
body: <p>jqGrid edited row id needs to be refreshed after save from id returned in response.
  I tried code below but undefined message box appears.</p>
  
  <p>How to update row id ?
  How to get response text after row is updated by Save action button ?</p>
  
  <p>Andrus</p>
  
  <pre><code>grid.jqGrid({
    colModel: [{name:_actions,width:45,
    formatter:"actions",
    formatoptions:
      {keys:true,
       delbutton:false,
       onSuccess:function (rowID, response) {
        alert(response);             
        $("#" + rowID).attr("id", response.responseText);
        },
  
      onEdit: function (rowID) {
       if (typeof (lastSelectedRow) !== 'undefined' &amp;&amp; rowID !== lastSelectedRow)
         cancelEditing($('#grid'));
         lastSelectedRow = rowID;
       }
  }}
  </code></pre>