In my grid, the data is structured as follows:
Within the rows (0,1,2 and 3 objects), there are additional objects. Of particular note is an object called 'datosPersonales' ('personalData') which contains sub-objects like nombre (name), apellido1(firstname) etc.
The issue arises when attempting to retrieve data from a single row:
var empleado = $("#GRID_empleado").jqGrid("getRowData",numRow);
Instead of receiving an object with nested objects, 'datosPersonales' appears not as a parent object but rather as individual properties. This can be better understood with an image (from firebug):
For some reason, I am getting the data in the following format:
- datosPersonales.nombre
- datosPersonales.apellido1
- datosPersonales.calle
- etc
Is there a way to retrieve the entire raw data from a specific row or even the entire grid?
I have experimented with different parameters, but have not achieved success.
My goal is to access the data for [3] in the first image.
Thank you in advance!