title: How do I find Jqgrid index number?
body: <p>I'm using Jqgrid to display a table, and I have a auto increment primary key as the tables primary key.The data is grouped by an orderDate but I don't know how to access values of the same orderDate through Jqgrid.</p>
  
  <p>I use this to find the selected row</p>
  
  <pre><code>var rowKey = grid.getGridParam("selrow");
  </code></pre>
  
  <p>and it returns a value, and if the data was neat I would just add 1 to get the correct index for the data I want, but the values are often far off from each other.</p>
  
  <p>I can group the data together in the table through modifying the SQL but the table still seems to retain orderDate as the index.</p>
  
  <p>Is there an easy way I can just select the next row of the grid? Or at least find its index?</p>
  
  <p>Thanks.</p>