title: JQGrid getRowData error
body: <p>I have the following JQ-Grid with a formatter function which returns some HTML as the column value:</p>
  
  <pre><code>jQuery("#list").jqGrid({ 
        url:jsonUrl, 
        datatype: 'json', 
        mtype: 'GET', 
        colNames:['Id', 'Name', 'Phone', 'Action'], 
        colModel :[ 
           {name:'id', index:'id', sortable:true}, 
           {name:'name', index:'name', sortable:true},
           {name:'phone', index:'phone', sortable:false},
  
           {name:'details', index:'details', sortable: false,
                formatter:function(cellvalue,options,rowObject){
                    return "&lt;p class='trigger'&gt;&lt;a href='#'&gt;&lt;img src='/images/actions.jpg' /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class='toggle_container'&gt;&lt;div class='block'&gt;&lt;table class='action'&gt;&lt;tr&gt;&lt;td&gt;&lt;a href='#'&gt;&lt;img src='/images/open.gif' /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href='#'&gt;&lt;img src='/images/edit.gif' /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href='#'&gt;&lt;img src='/images/delete.gif' /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;"
                }
            }
           ] 
  </code></pre>
  
  <p>Later on, I try to get all the  column / row data and export it to Excel.  Is there a feature in JQ-Grid which allows you to export in Excel / PDF (fyi - I am using JSP/JAVA).</p>
  
  <p>When I try to do something like this:</p>
  
  <pre><code> var mya=new Array();
   mya=$("#list").getDataIDs();  // Get All IDs
   var data=$("#list").getRowData(mya[0]);     // Get First row to get the labels
  </code></pre>
  
  <p>I get a JavaScript error:</p>
  
  <pre><code> Message: 'l.p.colModel[...].name' is null or not an object
   URI: http://www.ok-soft-gmbh.com/jqGrid/jquery.jqGrid-4.1.2/js/jquery.jqGrid.min.js
  </code></pre>