I will like to know if there is an option for get the id value from a row in a nested grid, because I just got the idRow
here is my code:
if (grid != null) {
grid.jqxGrid({
source: ordersSource,
width: 850,
height: 350,
theme: ‘energyblue’,
autoheight: true,
columns: [
{ text: ‘ACTIVIDAD’, datafield: ‘activityDescription’, width: “50%”, align: ‘center’ },
{ text: ‘INICIO’, datafield: ‘startDate’, width: “10%”, align: ‘center’ },
{ text: ‘TERMINO’, datafield: ‘endDate’, width: “10%”, align: ‘center’ },
{ text: ‘PROGRESO’, datafield: ‘progress’, width: “10%”, align: ‘center’ },
{ text: ‘ESTATUS’, datafield: ‘status’, width: “10%”, align: ‘center’ },
{ text: ‘EDITAR’, datafield: ‘Edit’, width: “10%”, align: ‘center’, columntype: ‘button’, cellsrenderer: function () {
return “Edit”;}, buttonclick: function (row) {
// nested grid rowclick binding
grid.on(“rowclick”, function (event) {
var args = event.args;
var row = event.args.rowindex; alert(row);
})
}
}
]
});
}