title: save jqGrid Row to the server side collection with one line 'saveRow' method call?
body: <p>THE PROBLEM:
  Can I save a new jqGrid Row successfully added with 'addRowData' on jqGrid client side to the server side collection with one line 'saveRow' method call?</p>
  
  <p>This is sort of a different version of a similar thread:
  <a href="https://stackoverflow.com/questions/8339463/how-to-perform-action-in-jqgrid-after-adding-new-row">How to perform action in jqGrid after adding new row</a></p>
  
  <p>Although In my case it seems little different:</p>
  
  <p>EXISTING:
  I have a grid that talks to .ashx handler for insert update delete and reading.
  (this works fine with inline editing etc.)</p>
  
  <p>NEW FUNCTIONALITY:
  I have just added Paste Button that pastes an array of text and converts it to rows:
  long story short in the end two following lines of code finally add my split Data, row by row to my jqGrid:</p>
  
  <pre><code>var gridRow = { Id: rowId, Surname: rowSurname,  DateOfBirth: rowDateOfBirth, Salary: rowSalary, Postcode: rowPostcode };
              jQuery("#list").addRowData(rowId, gridRow);  //(**)
  </code></pre>
  
  <p>(as you see I KNOW my rowId, which I calculate searching through the existing data)</p>
  
  <p>THE CATCH:
  Above code adds new row on UI only and I wanted it to get it added to Server collection as well. </p>
  
  <p>FAULTY:
  After the line (**) I wanted to add it to server collection - simply using brand new call with saveRow passing URL. YET NOTHING HAPPENS</p>
  
  <p>This is one variation of what I have already tried:</p>
  
  <pre>
                                  $("#list").jqGrid('saveRow', rowId, { //same rowId value used in 'addRowData' method above
                                      succesfunc: function (response) {
                                          return true;
                                      },
                                      url: "jqHandler.ashx",
                                      mtype: "POST",
                                      extraparam: gridRow // gridRow used in 'addRowData' method above
                                  });
  
  </pre>
  
  <p>BOTTOM LINE:
  Can I save a new jqGrid Row successfully added with 'addRowData' on jqGrid client side to the server side collection with one line 'saveRow' method call?</p>
  
  <p>I would really appreciate some guidance.
  Best Regards,
  Chris</p>