title: Value returned by getcol function in jqgrid
body: <p>I have a grid using <code>jqgrid</code>. I need to store the some data returned by the <code>url:</code>, in a local variable so that I can display it in the <code>subgrid</code>. For this I add that column as a hidden column in the main grid, which is of the format in <code>json</code>:</p>
  
  <pre><code>"Details":[{"Name":"ttt", "Quantity":"12"}] . 
  </code></pre>
  
  <p>Then in the loadcomplete: function I save the value to a variable using </p>
  
  <pre><code>var griddata = $("#grid').getCol('Details', false);
  </code></pre>
  
  <p>Now when I access <code>griddata[0]</code>, I get a <code>object</code> Object. I tried to parse it to get the values correctly, but to no avail. I tried:</p>
  
  <pre><code>griddata[0].Details.Name 
  </code></pre>
  
  <p>or </p>
  
  <pre><code>griddata[0].Details.0.Name 
  </code></pre>
  
  <p>or </p>
  
  <pre><code>griddata[0].Name, 
  </code></pre>
  
  <p>but all failed. I guess I am missing the format if the data returned by the <code>getcol()</code> function.I looked up the documentation on the method and it says that it returns just the values when we specify false, but could not get any examples.<br>
  If there are any examples or if there are any pointer to the solution, it will be greatly appreciated. </p>