title: jqGrid how do you loop through the grid?
body: <p>I have a project that uses jquery's jqgrid.  How do I loop through the grid rows and get to a value?</p>
  
  <p>somethign like</p>
  
  <pre><code>var rows = $(#mygrid).rows
  foreach(row in rows)
      alert(row["firstName"])
  </code></pre>
  
  <p>I have even seen something like this, but no examples of what to do with it.</p>
  
  <pre><code>var rows = $('#grid').jqGrid('getCol','firstName');
  </code></pre>