Loading...
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.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Table with undefined size and scrollbars as needed

Stefan Endrullis
10 years ago Oct 26, 2012 9:38am

I would like to add a table to a panel with full size (application layout) so that the table does not consume more space than needed. The only solution that I found was to set the table size to undefined. However, in this case the table loses the feature for displaying scrollbars if the panel size gets lower than the table size and users won't be able to see the whole content anymore.
Is it possible to achieve that the table component shrinks with the panel size but displays scollbars when they are needed?

I know one can activate scollbars for the surrounding panel, but this is not as nice as using the more appropriate table scollbars.

Last updated on Oct, 26th 2012
Thomas Mattsson
10 years ago Oct 29, 2012 8:43am
Stefan Endrullis
10 years ago Oct 29, 2012 9:47am
Thomas Mattsson
10 years ago Oct 29, 2012 11:30am