scrollX: true creating whitespace between table headers and table content

scrollX: true creating whitespace between table headers and table content

AnubisJPAnubisJP Posts: 15Questions: 5Answers: 0

Hi there,

I have a datatable where adding a scroll bar to the x axis creates whitespace between the table headers and table content.
Weirdly enough, i have another time set up in a very similar way on a different page which has the scroll bar active with no problems.

What could be causing this? any help appreciated!

Thanks
Jack

$(document).ready(function() {
        var example_table = $('.example_class').DataTable( {
              scrollX:        true
        });
    } );

Answers

This discussion has been closed.