title: jquery.jqGrid.src.js - Uncaught TypeError: Cannot read property 'integer' of undefined
body: <p>Im Facing the issue with JqGrid. I've gone through many suggestions and have followed the same. But, still i face the issue </p>
  
  <p>jquery.jqGrid.src.js: Uncaught TypeError: Cannot read property 'integer' of undefined.</p>
  
  <p>Below is the Code:</p>
  
  <p>My References:</p>
  
  <pre><code>&lt;script src="../../SiteAssets/Script/jquery-1.12.2.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../SiteAssets/Script/grid.locale-en.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../SiteAssets/Script/jquery.jqGrid.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../SiteAssets/Script/jquery.jqGrid.src.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../SiteAssets/Script/jquery.SPServices-0.7.2.min.js" type="text/javascript"&gt;&lt;/script&gt;
  
  
  var Clientdata = [];
  function ClientGriddisplay() {
  
  $("#Clientgrid").jqGrid({
  
          data: Clientdata,
          datatype: "local",
          colNames: ["Name","Age", "Location"],
          colModel: [
  
      { name: 'Name', index: 'Name', width: 200,resizable: false },
      { name: 'Age', index: 'Age', width: 200,resizable: false },
      { name: 'Location', index: 'Location', width: 200,resizable: false },
          ],
          rowNum: 10,
          mtype:'Get',
          loadonce:true,
          rowList:[10,20,30],
          pager:'#jQGridDemoPager',
          sortname: 'id',
          viewrecords: true,
          sortorder: "desc",
          caption: "Personal Details",
          height:'auto',
          gridview:true
      });
  
  }
  
  $('#document').ready(function () {
  
      //To load the client data from the sharepoint list.
      GetClientList();
      //To load the client data to the JQgrid
      ClientGriddisplay();
  });
  
  function GetClientList() {
      $().SPServices({
          operation: "GetListItems",
          async: false,
          listName: "GridTest",
          CAMLViewFields: "",
          completefunc: buildClientarray
      });
  }
  
  function buildClientarray(xData, status) {
  
      $(xData.responseXML).SPFilterNode("z:row").each(function () {      
          Clientdata.push({
              Name: $(this).attr("ows_Name"),
              Age: $(this).attr("ows_Age"),
              Location: $(this).attr("ows_Location"),
          });
      });
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/CWm4d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CWm4d.png" alt="enter image description here"></a></p>