The Checkbox example uses className: 'select-checkbox. Instead of that you can use createdRow to add the class, something like this: $(td).addClass('select-checkbox');. Then if the row data meets your criteria you can use $(td).removeClass('select-checkbox'); to remove the class and the checkbox won't appear.
You will also need to use the selector of .select-checkbox when enabling select in your Datatables init code.
Answers
Assuming you are using the Select Extension I would recommend using the
columns.createdRow
in the column with the Select Checkbox.The Checkbox example uses
className: 'select-checkbox
. Instead of that you can use createdRow to add the class, something like this:$(td).addClass('select-checkbox');
. Then if the row data meets your criteria you can use$(td).removeClass('select-checkbox');
to remove the class and the checkbox won't appear.You will also need to use the selector of
.select-checkbox
when enabling select in your Datatables init code.Kevin