Quantcast
Viewing all articles
Browse latest Browse all 82136

Changing row color doesn't affect sorted column

Inside my datatable I change a row's column with this:
$('#id12').closest("tr").css('background-color', 'red');

Row's background color changed to red. Except the column that is sorted.
That column's color is still the same.

Then I put an important tag, but it didn't change anything.
$('#id12').closest("tr").css('background-color', 'red', 'important');

Viewing all articles
Browse latest Browse all 82136

Trending Articles



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