Is there a way to have the "Select All" button update the class for `td` the as well as the `tr`?

Is there a way to have the "Select All" button update the class for `td` the as well as the `tr`?

mmcnair80mmcnair80 Posts: 83Questions: 21Answers: 7
edited November 2016 in Free community support

I have a lot of tables where I need to highlight the whole row. Because of the banding colors that I use the Select All button doesn't work right. It will highlight all of the darker colored rows and the sorted column rows only the lighter rows (excluding the column that is sorted on) will stay the original color. I have setup some CSS styles for highlighting the selected <td>, but I am not sure how to get the Select All button to update them.

Here is the DataTables Debug results

This question has an accepted answers - jump to answer

Answers

  • mmcnair80mmcnair80 Posts: 83Questions: 21Answers: 7
    Answer ✓

    Never mind I get this to work a different way with inheritance.

    The styles are now working as inherited from the parents so that the TD gets it's properties correctly from the TR

This discussion has been closed.