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

Change text color based on value

$
0
0

I'm trying to work out some conditional formatting for column 4 and 5, based on these criteria:

if value <= 0, color here
if value => 1, color here
if value => 2, color here
if value => 3, color here
if value => 4, color here
if value => 5, color here

I've read I need to use rowcallback in order to use this, but I can't get my head around it.

Best regards


Viewing all articles
Browse latest Browse all 82108

Trending Articles