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 changes size on scroll and is no longer x-scrollable after library-update #86

Closed McRadio closed 8 years ago

McRadio commented 8 years ago

hello,

i wanted to update the datatables-library from version 1.10.2 to 1.10.12. . At one datatable we are displaying a huge amount of information(about 29 columns up to 8000 rows). At this datatable i now have the same issue mentioned at https://github.com/DataTables/FixedHeader/issues/64.

So fixedHeader is resizing the th-tags, it is no more scrollable in x-direction, and the fixedHeader is not bordered (to the right) by its surrounding div.

I tried to reproduce the error in an jsfiddle but there it worked properly, i also tried to remove all possible disturbing other js/jquery-functions used in the project, but it still does not work.

DataTables commented 8 years ago

If you link to a test page showing the issue I'd be happy to have a look at it.

McRadio commented 8 years ago

Finally, i could reproduce the fixedHeader Error in a JS-Fiddle: https://jsfiddle.net/McRadio/m0xfdef5/118/

McRadio commented 8 years ago

Ok, i realized that fixedHeader and Scroller are not compatible, but why is it not possible to make ScrollX and the fixedHeader compatible?

Solved the Problem by disclaiming fixedHeader and taking scrollX and scrollY. btw: Sorry for my English.

DataTables commented 8 years ago

When scrolling is enabled, DataTables has to split the table into a header and body (and footer if there is one) in separate tables. Currently FixedHeader isn't programmed to cope with that. It is something that I would like to add in future.

LeonardoGentile commented 6 years ago

ping

rakibulhaq commented 5 years ago

ping