Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
TreeTable height
Hi,
I've a problem with the TreeTable size in Vaadin 6.7.6:
The height of the table body is always bigger than necessary which leaves a lot of space after the contained data. Is there any way to reduce the size of the TreeTable to fit its content and to get rid of this extra space?
Thanks,
Dominik
btw: The same is true for the TreeTable examples in the Vaadin Sampler (e.g. http://demo.vaadin.com/sampler#TreeTableBasic). This might be a general problem.
Hi,
have you tried to call setPageLength(0) for the TreeTable? It should then adjust the height to the amount of rows it contains.
-Tepi
Thank you very much, Tepi! Your suggestion helped: Calling setPageLength(0) did the trick! :D
Dominik