title: How to detect if all jqGrids on a page have loaded?
body: <p>I'm using the ASP.NET WebForms version of jqGrid, however I'm sure the same events should be available as the standard grid.</p>
  
  <p>I have some pages with multiple grids on them, it could be just one, or could be several. I have a print button which will display 10,000 records (to display all the records on the grid), resize it to fit onto an A4 sheet, fire <code>window.print()</code> and then go back to the original record count, and resize the grid back to 100%.</p>
  
  <p>The missing part is to know when to fire <code>window.print()</code> as I need to wait for all the grids to be loaded before doing so.</p>
  
  <p>I've tried having a global <code>var allGridsLoaded = false;</code> and then use the <code>Load_Complete</code> event and <code>beforePageChange</code> to set the var, but obviously with each grid resetting the var I'm not sure how to track them all?</p>
  
  <p>In the <code>Load_Complete</code> I'm thinking I could loop through each grid, but what's the cleanest way to tell if they've loaded?</p>