You can use fnRowCallback to do conditional formatting of rows. Here is an example where I've set the CSS grade in my demo data to be bold when it is grade A: http://www.datatables.net/examples/advanced_init/row_callback.html . In the case you are looking at you could use your date calculation logic to decide if a class should be added or removed from the row.
Replies
regards,
Vivek
You can use fnRowCallback to do conditional formatting of rows. Here is an example where I've set the CSS grade in my demo data to be bold when it is grade A: http://www.datatables.net/examples/advanced_init/row_callback.html . In the case you are looking at you could use your date calculation logic to decide if a class should be added or removed from the row.
Regards,
Allan
@Vivek, yeah thats how I did it with my old html tables