≡
×
Plus
Manual
Examples
Reference
Download
Blog
Community
Support
Why the first Column is colored different by default?
Why the first Column is colored different by default?
Tudor87
Posts: 9
Questions: 0
Answers: 0
March 2014
edited March 2014
in
General
I believe the sorting_1 class to each td of the first columns turn them with a new style.
[code]
Gecko
[/code]
What is the shortest way to remove that class without using jQuery, but DataTable instead.
Replies
tangerine
Posts: 3,371
Questions: 42
Answers: 395
March 2014
Styling is applied to column(s) which are currently sorted upon. Read the docs.
http://datatables.net/styling/ids_classes
allan
Posts: 65,821
Questions: 1
Answers: 10,951
Site admin
March 2014
You could just remove it from the CSS if you don't want it to be highlighted. Or use the
bSortClasses
option to disable it in Javascript.
Allan
Tudor87
Posts: 9
Questions: 0
Answers: 0
March 2014
Thank you both!
This discussion has been closed.
Replies
http://datatables.net/styling/ids_classes
Allan