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.
Creating multirow table headers
Hi everybody,
I have a table where my column headers are set with the following instruction :
table.setColumnHeader("columnName", "The column");
I wonder how can I create multilevel table headers like on this page (please refer to the columns on the right on main table)?
Regards.
It is not possible with Vaadin directly.
If the table column sizes are fixed, you can fake it by using fake headers
Menson Larson: I wonder how can I create multilevel table headers like on this page (please refer to the columns on the right on main table)?
Or if you are creating small static tables reports like that, you could also consider using a GridLayout with some colspans instead of a Table.
For simple multi line you can use <br /> tag in column name.
Using <br/> it is just displaying it instead of moving it to the next line