rowClick: function(event, ui) {
console.log("rowClick");
// When a row is clicked, select or deselect the check box. Must be a data row
if(!empty(ui.rowData))
{
var checked = ui.rowData["state"];
// Update the check box. This causes the issue !!!!
that.infoGrid.pqGrid("updateRow", {rowIndx:ui.rowIndx, newRow:{"state":!checked} });
}
},
rowDblClick: function(event, ui) {
console.log("rowDblClick");
},
The call to updateRow in rowClick prevents the rowDblClick from being triggered.
The idea of rowClick is that a click on the row (not just the check box), selects/unselects the check box.