Change the background color of specific columns in the table for which dataTable filters applied
Change the background color of specific columns in the table for which dataTable filters applied
tariq.sleekr
Posts: 7Questions: 1Answers: 0
How can I change the background color of those columns in the table for which data table filters are applied in the search?
Any help?
I am using the wpDataTable plugin. Do you have any tweaks, ideas, or suggestions?
Replies
See if the plugin described in the Search highlighting with mark.js blog works for you.
Kevin
No, there is no option like this.
Looks like I messed up the link above:
https://datatables.net/blog/2017/search-highlighting-with-markjs
wpDataTable
is not supplied by Datatables. It may use Datatables, I'm not sure, but this forum is not the best place to get support forwpDataTable
. We can answer specific Datatables questions but don't have the background for answeringwpDataTable
questions. Possibly Stack Overflow is a good place to ask aboutwpDataTable
.Kevin
Yeah, Kevin. You are right. Thanks.