Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child rows are not compatible with fixedHeader #103

Open
in-op opened this issue Jan 12, 2021 · 1 comment
Open

Child rows are not compatible with fixedHeader #103

in-op opened this issue Jan 12, 2021 · 1 comment

Comments

@in-op
Copy link

in-op commented Jan 12, 2021

If you have a table that has both a fixedHeader and expandable child rows with .child(), then when you expand the child row the fixedHeader doesn't seem to re-calculate the table height and will end prematurely if you scroll down.

@DataTables
Copy link
Collaborator

You are absolutely correct. What you need to do at the moment is call the fixedHeader.adjust() method just after you show the child row. We should perhaps have DataTables trigger an event on child row show / hide and have FixedHeader listen for that automatically...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant