DataTables hide/show hidden column button CSS style
|Added at||2016-12-28 19:12|
to hide the last column in datatable table. Datatable creates a button in the first column to show/hide this column in a child row. The colors of this button are set in responsive.bootstrap.min.css:
I added a custom class the first column as to disable the button depending on data in row:
I set the class via C# depending on the content of certain rows.
All this is working as expected.
What I want to do now is set the background color of the button to grey when the td's class is set to .not-active, over writing background-color.
I have tried
and dozen of different combinations but can't seem to get the format correctly.
Any suggestions? Thanks!
Adding FSFiddle as requested: https://jsfiddle.net/yk06fbxa/3/