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

Does not work with a vertically scroll-able table container #80

Open ghost opened 8 years ago

ghost commented 8 years ago

I have searched all the documentation, examples and forums but wasn't able to find a similarity there was one in FixedHeader forums but the answer was incorrect.

I have a request of the functionality for FixedHeader extension to work inside a vertically scroll-able table container, I mean while I want to scroll a container of the table other than the whole window scrolling and want the table head to be fixed inside that container hope you be understood.

output_edccpi

Thanks, Nasir

DataTables commented 8 years ago

I think this is part a duplicate of #7 which would need to be resolved for this to work.

It isn't something I'm working on at the moment, but having FixedHeader work within a scrolling container in future would be nice.

oNexiaoyao commented 7 years ago

I have the same problem that it can't work within a scrollling container.Does it only work on window?

DataTables commented 7 years ago

Does it only work on window?

That is correct. This feature request exists because of exactly that.

Danielku15 commented 7 years ago

I would also have a need for this. I have multiple expanders (accordion) and all contain a DataTable. The expander content is scrollable and I'd like to make the header sticky within this parent container.

Has anybody possibly a solution/workaround for this?