DataTables / FixedHeader

Fix the header, footer, left or right columns of a table in place, to always show them when scrolling
http://www.datatables.net/
Other
75 stars 83 forks source link

DataTables with column widths defined in % loose the % and don't resize correctly #33

Closed xmojmr closed 8 years ago

xmojmr commented 10 years ago

This fiddle → http://jsfiddle.net/xmojmr/bp4hz/4/ shows that although column widths are defined in % (by using columns.width) then on-screen width changes to pixels. e.g. 20% becomes 20px (look at TH cells)

This fiddle → http://jsfiddle.net/xmojmr/6EdUF/2/ shows that pull request #34 fixes it. TH cell width remains % even after window is resized

DataTables commented 8 years ago

Discussion continues in #34.