title: jqGrid - Accessing an array inside a JSON
body: <p>my JSON looks like:</p>
  
  <pre><code>[{"codDiretor":"123",
    "nomeDiretor":"Nome do Diretor",
    "data":"29/01/2014",
    "documentos":[{"codDocumento":"1", "nomeDocumento":"Primeiro Doc"}, 
                  {"codDocumento":"2","nomeDocumento":"Segundo Doc"}]
  }]
  </code></pre>
  
  <p>I have a column on my grid called "documentos" to retrieve the array. I'm trying to access it this way: </p>
  
  <pre><code>var documentos = $("#grid").jqGrid('getCell', dados, 'documentos');
  </code></pre>
  
  <p><code>alert(documentos)</code> displays <code>[object Object, object Object]</code>, which means it "can see" what is in the array, since it has 2 index and it show 2 Object. How can I access it? I tried: <code>documentos[0].codDocumento</code> and it shows <code>undefined</code>.</p>
  
  <p>Thanks,</p>
  
  <p>Lucas. </p>