Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82829

How to change the text-color of a row value? I have code but it changes the background color instead

$
0
0

rowCallback: function(row, data, index){ if(data[3]=='failed'){ $(row).find('td:eq(2)').css('background-color', 'red'); } else if(data[3]=='completed'){ $(row).find('td:eq(2)').css('background-color', 'green'); } else if(data[3]=='success'){ $(row).find('td:eq(2)').css('background-color', 'green'); } },

I just want to change text-color.
Thank
Koka


Viewing all articles
Browse latest Browse all 82829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>