title: jqGrid: How get all raw data, problems getting object inside object
body: <p>I have a grid which data is like this: </p>
  
  <p><img src="https://i.stack.imgur.com/VMntx.png" alt="Grid rows data"></p>
  
  <p>As you can see, there are some rows (0,1,2 and 3 objets) and inside each there are more objects. Please pay attention that there is an object called '<strong>datosPersonales</strong>' ('personalData') with has inside more objets; nombre (name), apellido1(firstname) etc.</p>
  
  <p>The problem arise when I try to get the data from one row:</p>
  
  <pre><code>var empleado = $("#GRID_empleado").jqGrid("getRowData",numRow);
  </code></pre>
  
  <p>What I get is and object with object inside but the the previously mentioned 'datosPersonales' objetc is not a 'father' of more objects. With an image (from firebug) is easier to understand:</p>
  
  <p><img src="https://i.stack.imgur.com/kgPpn.png" alt="Data ungrouped in an object"></p>
  
  <p>I don't know why but instead of get 'datosPersonales' with his 'sons' I get them like these:</p>
  
  <ul>
  <li>datosPersonales.nombre</li>
  <li>datosPersonales.apellido1</li>
  <li>datosPersonales.calle</li>
  <li>etc</li>
  </ul>
  
  <p>What is the way to get all / whole / raw data from a certain row of a grid or even of the complete grid?</p>
  
  <p>I have tried with some parameters but I've not been successful.</p>
  
  <p>What I want is to get for example the data of [3] in the first image.</p>
  
  <p>Thanks in advance!</p>