DataTable height with sticky header #8491
Answered
by
tw15egan
makeupsomething
asked this question in
Help
-
Hi All 👋 The current version of the DataTable when used with a stickHeader seems to have a fixed max-height of 300px. I'm working on my own implantation where the table height is determined based on the number of rows the user wants to show but I would love to know if there is any other solutions? |
Beta Was this translation helpful? Give feedback.
Answered by
tw15egan
Apr 23, 2021
Replies: 1 comment
-
Hey there @makeupsomething, you're definitely free to override the height to suit your needs. I believe a hardcoded value is simply needed to enable the sticky header functionality. By no means are you stuck with having it at 300px. Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jnm2377
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there @makeupsomething, you're definitely free to override the height to suit your needs. I believe a hardcoded value is simply needed to enable the sticky header functionality. By no means are you stuck with having it at 300px. Hope that helps!