title: jqGrid has no addJSONData method
body: <p>I'm just playing around with jqGrid this afternoon, and have it working fairly well with a local array data source.  However, now I'm trying to get it to load local JSON data.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>jQuery("#list4").jqGrid({
     datatype: "json", //&lt;-- Also tried "local" here
     height: 'auto',
     autowidth: true,
     forceFit: true,
     colNames:['ID','Name'],
     colModel:[
        {name:'id',index:'id', width:60, sorttype:"int", jsonmap:"id"},
        {name:'name',index:'name', width:90, jsonmap: "name"}
     ],
     multiselect: false,
     caption: "Test"
  });
  </code></pre>
  
  <p>I then try to load JSON data using the following:</p>
  
  <pre><code>jQuery("#list4").jqGrid.addJSONData(json);
  </code></pre>
  
  <p>The issue is that <code>jQuery("#list4").jqGrid.addJSONData</code> is undefined.  I've also tried:</p>
  
  <pre><code>jQuery("#list4").jqGrid('addJSONData', json);
  </code></pre>
  
  <p>Which throws an exception saying that the method <code>addJSONData</code> is not defined.  I can see other documented methods on <code>jQuery("#list4").jqGrid</code>, just not this one.  <code>addXMLData</code> is also missing.  However, I can verify that these methods are in the <code>jquery.jqGrid.min.js</code> source code.</p>
  
  <p>I just downloaded jqGrid today, so I know I have the latest versions of everything.</p>
  
  <p>I must be doing something wrong, but I'm not sure what it could be.  I've put the <em>entire</em> page here:</p>
  
  <p><a href="http://pastie.org/3825067" rel="nofollow">http://pastie.org/3825067</a></p>