title: jqgrid with large local data sets
body: <p>I'm looking for recommendations for jqgrid to add a large dataset from a local source.   Right now, there's a simple loop:</p>
  
  <pre><code>grid.clearGridData();
  for(var i = 0; i &lt; data.length; i++)
  {
      grid.addRowData(i+1, data[i]);
  }
  grid.trigger(”reloadGrid”);
  </code></pre>
  
  <p>And on some larger data sets, this causes the browser to display the “javascript is using too many resources…quit/continue” message in IE and FF, usually after several “Continues” everything is fine.  This is for data sets of ~2000 rows. </p>
  
  <p>I can break this up into several chunks with setTimeout, but that feels kludgy.</p>
  
  <p>Using version 3.3 of jqgrid.</p>