Skip to content

DataTable height issue #5425

Answered by willmcgugan
Tinche asked this question in Q&A
Dec 22, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The DataTable has a height of auto. i.e. it will grow as you add rows. It has a max-height of 100%, which will mean it won't grow larger than the height of the container.

If you want the DT to use the remaining height, set its height to 1fr.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tinche
Comment options

Answer selected by Tinche
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5424 on December 22, 2024 15:00.