Hello,
I am trying to capture the value of my cell. I came across another answer and employed the same method, yet it doesn’t work for me. This is the code that I have used.
$("#grid").jqxGrid(
{
source: dataAdapter,
columnsresize: true,
columns: [{ text: 'Available Workflows', datafield: 'Process_Subprocess' },
{
text: '', datafield: 'Load', columntype: 'button', width: 100, cellsrenderer: function () { return "Load"; }, buttonclick: function (row) {
var rowName = $('#jqxgrid').jqxGrid('getcellvalue', row, 'Process_Subprocess');
alert(rowName);
var rowIndex = parseInt(row) + 1;
$.fn.validationFunction(rowIndex);
}
}
]
});
rowIndex behaves exactly as it should, yet the value of rowName isnt working. Where am I going wrong here?
Thanks,
Akhil