mkoryak / floatThead

Fixed <thead>. Doesn't need any custom css/html. Does what position:sticky can't
https://mkoryak.github.io/floatThead/
MIT License
1.22k stars 196 forks source link

support for tables with existing <colgroup> containing hidden <cols> #446

Closed mkoryak closed 4 years ago

mkoryak commented 4 years ago

fix for #445

mkoryak commented 4 years ago

This change ensures that hiding an existing <col> will hide the column in the table (after a reflow).

Also I am now setting the same classes on the cols in the floated table as the cols in the source table so that the same styles get applied to both tables. Previously only the original table would maintain the classes added to <col>s.