title: How to add empty rows to the JQGrid
body: <p>I have the grid with paging. Every page has max 10 rows. if i have 3 records only i need to show 7 empty rows, </p>
  
  <p>like excel sheet layout </p>
  
  <p>Like this:</p>
  
  <p><img src="https://i.stack.imgur.com/n31x9.png" alt="enter image description here"></p>
  
  <p>I got the <strong>solution</strong> :</p>
  
  <pre><code>loadComplete: function (data) {
                  var pagesize = jQuery("#list5").jqGrid('getGridParam', 'rowNum');
                  if (data.rows.length &lt; pagesize) {
                      for (i = 0; i &lt; pagesize - data.rows.length; i++) {
                          $("#list5").addRowData(i + 1, {});
                      }
                  }
              }
  </code></pre>
  
  <p>If any other efficient solution is there then please let me know.</p>