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

Header is display on top if the datatable is in a hidden container #55

Closed pc-jedi closed 9 years ago

pc-jedi commented 9 years ago

Hey,

the header is displayed in the top, if the table is inside a hidden cotainer.

Example: JSFiddle

DataTables commented 9 years ago

You need to use the fnEnable and fnDisable API methods of FixedHeader - it doesn't know when the table has been shown or hidden: https://datatables.net/extensions/fixedheader/api .