set padding for column headers
set padding for column headers
EugeneMelbourne
Posts: 1Questions: 1Answers: 0
datatable has a bug
if I set padding for column headers, when loading data dynamically
it will shuffle column width.
this is what I'm trying to add:
.dataTable thead .sorting_asc,
.dataTable thead .sorting_desc,
.dataTable thead .sorting {
padding-left: 2.2rem !important;
padding-right: 0.75rem !important;
}
This discussion has been closed.
Answers
Looks okay to me: http://live.datatables.net/xiloyaxo/1/edit .
Please link to a test case showing the issue.
Allan