I\'m new to datatables. When I make table header, it\'s always left align. How can I set the header to center align? I\'ve read datatables.net/manual/styling/classes and datatab
You can do this with CSS. Just use your table class as a selector and target every table heading inside that selector, like this:
.table th { text-align: center; }