How can i adjust columns when i am using "ScrollY".
How can i adjust columns when i am using "ScrollY".

I have a sidebar. When I am toggling my sidebar the "dataTables_scrollHead" and "dataTables_scrollBody" columns are not aligned properly.
I have a sidebar. When I am toggling my sidebar the "dataTables_scrollHead" and "dataTables_scrollBody" columns are not aligned properly.
Answers
Sounds like you are using DataTables 1.x? That is no longer supported - however, if you link to a page showing the issue, I can take a quick look and see if there is something obvious.
Allan
The issue was resolved using
$('.dataTables_scrollHeadInner, .dataTable').css({'width': '100%'});
setTimeout(function () {
$(window).trigger('resize'); // Trigger window resize event
}, 300);