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

Added some initialization options #44

Closed holtkamp closed 9 years ago

holtkamp commented 9 years ago

Discovered them by browsing the source, documentation might be nice.

Setting "alwaysCloneTop" to true fixed an issue we had with sorting a DataTable in combination with the FixedHeader plugin. Setting it to false broke the sorting functionality again...

DataTables commented 9 years ago

Hi,

These aren't documented yet as I've not completed their implementation - only the top option is implemented, and to be honest I'm not happy with it, which is why I've not completed the implementation for the other options. Going to close this PR as a result until I do finish an implementation I'm happy with :-)

holtkamp commented 9 years ago

Aah, ok, good to know. And what about 'offsetTop', does the same apply for that option? Works quite nice when a (Bootstrap) Navigation Bar requires the FixedHeader to have an offset :)

DataTables commented 9 years ago

Yes - same applies. I really need to find some time to bring FixedHeader fully up to date...