In my grid, I have ID column that links to a record details screen using the following…
$(jqxgrid).on(‘rowclick’, function (event) {
var args = event.args;
var row = args.rowindex;
selectedID = $(jqxgrid).jqxGrid(‘getcellvalue’, row, “ID”);
});
When you click on the ID column you open the detail screen.
$(jqxgrid).on(‘cellclick’, function (event) {
var column = event.args.column;
var rowindex = event.args.rowindex;
var columnindex = event.args.columnindex;
if (column.text == “BidID”) {
window.open(“<?php echo WEB_ROOT ?>/BidView/BidDetailView.php?id=” + selectedID);
}
});
This works great without grouping any columns it works great. But when you have a column grouped the “showgroupmenuitems: true,” the ID is incorrect for the following code.
$(jqxgrid).on(‘rowclick’, function (event) {
var args = event.args;
var row = args.rowindex;
selectedID = $(jqxgrid).jqxGrid(‘getcellvalue’, row, “ID”);
});
Can you fix this. This major issue at this point…..