I would like to apply CSS to a checkbox in the jQuery Datatables plugin. Now this CSS value would change under certain conditions , which is if true then I want to display the checkbox is red color else white.
I tried using the sClass attribute , but it gets applied to all the boxes. How can I apply them to the checkboxes depending upon the condition individually.