Row_selected working but not working

Row_selected working but not working

jdadwilsonjdadwilson Posts: 80Questions: 14Answers: 1
edited March 2014 in Bug reports
My dataTables design is such that when a user clicks on a row the background-color of the row would change color. Lots of discussion on the subject so was able to implement the design with no problem... almost.

The row is determined and the 'row_selected' class is assigned with no problem. But, the color does not change. Within the CSS I added the following...

[code]tr.row_selected { background-color: #900; color:#900; }[/code]

What is interesting is that the color works but the background-color does not. (Yes, once it works I'll change the bg-color to something other than #900 and remove the color: #900;) ;>)

TIA for any assistance
jdadwilson

Replies

  • allanallan Posts: 61,775Questions: 1Answers: 10,112 Site admin
    Sounds like something else will be overriding your style. Your browser's developer tools will be able to show you what styles are applied to the cell by right clicking and 'inspect element'.

    Allan
This discussion has been closed.