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)?


It is not possible with Vaadin directly.
If the table column sizes are fixed, you can fake it by using
fake headers

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
tag in column name.

it is just displaying it instead of moving it to the next line