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

Highlight specific rows

$
0
0
i am using tablepress plugin on my wordpress website which uses datatables. i have a requirement of highlighting specific rows. my table will be constantly updated and it will always be arranged in the ascending order of the "name" entry. what would be the easiest way to highlight the rows?
as of now i am using this command
.tablepress-id-14 .row-368 td {
	background-color: #CCFF99;
}
but the problem i am facing with this is that i manually need to highlight each entry. and moreover if i add a new entry which falls somewhere in the middle of the table (ascending order) it will change the row ids of the rows below and the wrong rows will be highlighted.

i have entered "***" in a field in each row that i want to be highlighted. is there any way to highlight rows only which have *** in them

Viewing all articles
Browse latest Browse all 82109

Trending Articles



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