jquery.floatThead.js - test for issue: https://github.com/mkoryak/floatThead/issues/53
Issue #53

If the table is wider than the wrapping container, then we must set its width when the header is floated, and put it back to old style on unfloat.
currently this is still broken if using position: 'fixed'. I can check if the issue may happen by wrapping the table with a div.
for now, wont fix since workaround exists

Id Somecolumn 1 Somecolumn 2 Somecolumn 3 Some long column 4 Some long column 5 Short Somecolumn 1 Somecolumn 2 Somecolumn 3 Some long column 4 Some long column 5 Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short
345234 Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short Textthatislongerthanheader Textthatisalsolongerthanheader 6 XXXXYYYY XXXXYYYYZZZZZZ Short