I am using jquery data table. I am facing issue with fixed headers when I load large number of data the tbody and thead are not aligned. Here is my code.
$('#tblProducts').DataTable({
"scrollY": 400,
"scrollX": true,
"paging": false,
"fixedColumns": {
leftColumns: 1
},
"searching": false
});
here is the image.
Here is the css I used on the page
.dataTable {
width: 2082.22px !important;
}
.dataTables_scrollHeadInner {
width: 2082.22px !important;
}
.thead-th {
width: 250px !important;
}
.thead-th-upc {
width: 120.6945px !important;
}