How to disable row checkbox based on the cell value in Datatables. Have table and few columns have data like System. If it is system need to disbale the row. Tried below code, checkboxes are not disabled.
this.dtOptions = {
ajax: 'assets/test.json',
initComplete: function (settings, json) {
$.each(json.data, function (index, value) {
if(value.matchType == "System"){ //working
$("table").closest('tbody tr td').find('input:checkbox').prop('disabled', true);
}
});
},