//I have included the scrollY option in dtOptions
.withOption('scrollY','auto')
<table datatable dt-columns="dtColumns" dt-options="dtOptions" style="width:100%;"></table>
Unfortunately, this has caused alignment issues with the header and body of the table. I have tried multiple solutions but so far none have resolved the problem. Any suggestions on how to rectify this issue would be greatly appreciated. A screenshot of the table can be viewed here.