title: How to programmatically select top row of JQGrid?
body: <p>How does one programmatically select the top row of a JQGrid. I want to have the top row already selected when it is opened on the page. My grid is sorted by a descriptive column so the first row's id could be any number. I know the method  to use I just don't know how to get the rowid for the top (first) row. The method is:</p>
  
  <pre><code>jQuery("#mygrid").setSelection(rowid, true);
  </code></pre>