Datatables sorting -changing background color
Datatables sorting -changing background color
tomzn
Posts: 29Questions: 9Answers: 2
Hi All,
I am attempting to modify the default behaviour of my bootstrap styled datatable to change the background of the column header when a sorting direction is activated. eg. when ascending sort is clicked on column header name the background turns a specific color. My issue is that the glyphicons still have a background colow before the coloumn header is clicked. How do I resolve this ?
My bin is here :
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Updated your bin, http://live.datatables.net/sagefome/3/edit?css,output . Your CSS was incorrect. I removed yours and the last three are what I added.
Thanks bruv! Much appreciated.