title: How can I set the cell in a jqGrid if the name in colmodel is an integer?
body: <p>jqgrid setcell causes issues when the name in colmodel is an integer. It gives error: </p>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot read property 'formatter' of undefined.</p>
  </blockquote>
  
  <p>My sequence of adding <code>grid.locale-en.js</code> and <code>jqgrid-min.js</code> is Right. </p>
  
  <p>To be Precise the error is in the line :</p>
  
  <pre><code>var h = a.p.colModel[e]; if (h.formatter !== void 0) 
  </code></pre>
  
  <p>in <code>jqgrid-min.js</code> where e the colmodel name (note this is an integer).</p>
  
  <p>This is the way I am setting cell.</p>
  
  <pre><code>$("#GoingCostLogGrid").jqGrid('setCell', rowId, Costs_ProjectOrProgram , cellValue_CurrentTotalforAllFY);
  </code></pre>
  
  <p>Where Costs_ProjectOrProgram is an integer also the column name in colmodel.</p>