mkoryak / floatThead

Fixed <thead>. Doesn't need any custom css/html. Does what position:sticky can't

Home Page:https://mkoryak.github.io/floatThead/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem when td data width is less than th data width

tkallsen opened this issue · comments

Hi, very nice plugin. However, I found an issue when using a table with a fully floating columns (no fixed widths set on any columns). If the width of the data in the sizing-row tds is less than the width of the header-data in the ths, the header columns will move relative to the tbody.

See the following fiddle: http://jsfiddle.net/vV8qF/1/

(Rendered table is supposed to be in a windows with horizontal and vertical scroll bars, not sure if that affects the issue)

Ill take a look

I have a fix for this issue, but it is not ready to release as a stable version. for now you can use the minified code in your updated fiddle: http://jsfiddle.net/vV8qF/2/

Wow, quick fix, thank you.

commented

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.