title: Why is the data.length undefined in jqGrid loadComplete function?
body: <p>I have the code as follows:</p>
  
  <pre><code>    $(function () {                 
          jQuery("#list48").jqGrid({
              datatype: "xml",
              url: 'server.java',     
              mtype: "POST",
              colNames:['Inv No','Date'],
              colModel:[
                  {name:'id',index:'id', width:60,},
                  {name:'invdate',index:'invdate', width:90}                  
              ],
              width: 600,             
              caption: "Grouping Array Data",
              loadComplete: function (data) {
                  console.log("### data: " , data);  //Document
                  console.log("### data.length: " , data.length);  //undefined
              }
          });
      })  
  </code></pre>
  
  <p>After server response the table is contained by data. Everythig looks correct. 
  Is there any any idea why the <code>data.length</code> is <code>undefined</code>?</p>