I have a html table that uses datatables.js and have not been able to find a clear example of how to apply conditional formatting.
How could I change the text color of a cell in column 4 when its value == 0 and the value in column 5 is !=0
<script>
$(document).ready(function () {
$("#GeneratedData").dataTable({
"sDom": 'T<"clear">lrtip',
"oTableTools": {
"sSwfPath": "http://localhost:5637/Content/swf/copy_csv_xls_pdf.swf"
},
"sPaginationType": "full_numbers"
});
})
</script>