Background color of selected row can not be changed
Background color of selected row can not be changed
Hello,
My problem at the moment is that I can not change the background color of the tr or tds underneath the tr, of a selected row. This seems to be asked already but none of the propsed method work.
https://jsfiddle.net/csh0qy75/
This is a link to a test case (copy of html css and javascript from the example). Can you help me change the background color of the selected row to another one?
More strange is that with inspector I cannnot seem to find the css being used to set this abckground color. Am I missing something?
Thanks
This question has an accepted answers - jump to answer
Answers
If you inspect the
td
of the selected row you will find something like this:You should be able to override it with something like this:
Updated example:
https://jsfiddle.net/Lc91jdqm/
Kevin
Yes that seems to work, thanks for the help!