Column Header alignment issue OR table heading not aligned after scrolling in datatable
Column Header alignment issue OR table heading not aligned after scrolling in datatable
ashwani_kumar
Posts: 4Questions: 2Answers: 0
The issue is with chrome and IE.
If we add scrolling option while making datatable the table header not aligned with the table. otherwise it is fine.
"scrollY" : 200,
"scrollCollapse" : true,
"sScrollX" : "100px",
This discussion has been closed.
Answers
Hi we can solve the issue by adding our own custom scrolling facility.
$('#'+tableId).wrap("<div class='scrolledTable'></div>");
.scrolledTable{
overflow-y: auto;
clear:both;
}