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.

Grid - more than one in a layout

Dieter von Holten
6 years ago Dec 10, 2015 8:43pm
Johannes Dahlström
6 years ago Dec 10, 2015 10:01pm

What layout did you use to arrange the Grids? The following should work fine:

VerticalLayout layout = new VerticalLayout();

layout.addComponents(firstGrid, secondGrid);

ui.setContent(layout);