title: How to get data for all rows in jqgrid with pagination
body: <p>I want to access grid data as below</p>
  
  <pre><code>    var namePresent;
      var datafromgrid = $('#MyGrid').jqGrid('getRowData');
      for (var i = 0; i &lt; rowCount; i++) {
           var name = datafromgrid[i].Name;
           var firstname = name.split(/ +/);
           if (firstname[0].toLowerCase() == Name.toLowerCase()) {
               namePresent = 1;
           }
      }
  </code></pre>
  
  <p>Now suppose when my grid is loaded with 5 records then this code throws error on line var <code>name = griddata[i].Name;</code> as from grid it is unable to read griddata[5].
  Please tell me how to read whole grid data even if it is not visible on screen but is fetched successfully?</p>