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](https://secure.gravatar.com/avatar/c303e48f0932b724e5beec9082164fe4/?default=https%3A%2F%2Fvanillicon.com%2Fc303e48f0932b724e5beec9082164fe4_200.png&rating=g&size=120)
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.