Bootstrap 3 responsive table issue

Bootstrap 3 responsive table issue

PeteHPeteH Posts: 4Questions: 2Answers: 0

Running into an issue with a Bootstrap 3 responsive table. I included the Bootstrap option in my CDN.

I'm using the scrollY option to fix the table header which works fine. However, when I change the width of my browser window, the table body cells change width but the table header cells don't. If I refresh the page after changing the window width, the headers align again. There is no width setting on the table tag.

Here's my initialization javascript:

$(document).ready(function() {
        $('#historytable').DataTable({
            "scrollY":        "600px",
            "scrollCollapse": true,
            "paging":         false,
            "searching": false,
             "info": false
        } );
} );

Answers

This discussion has been closed.