I am trying to get the row data when the user checks the tick on the row checkbox.
$('#jqxgrid').on('rowselect', function (event) {
var rowIndex = $('#grid').jqxGrid('getselectedrowindexes'),
rowdata;
rowdata = $("#grid").jqxGrid('getrowdata', rowIndex);
selectedRows.append(rowData);
alert("Row with bound index: " + rowIndex + " has been selected");
});
I also tried .bind instead of .on but both are not working.
This one should work: