Add label to a Table Header

Hi,

I want to know how to add a label & a combo box in the table header.

Thanks

why do you want to override default table headers? are you sure you are using the right ui paradigm? Users often expect table headers to perform actions such as clicking to sort, etc.

If you want to set the cell to display labels & comboboxes you need to use, “components in table” http://vaadin.com/book/-/page/components.table.html

Pretty thorough tutorial.

Currently you can only do this by either making
fake header using a layout
on top of the table or by extending the table and doing it yourself.

I have a table with rerspective columns & rows.All i want to do is,

Just below the table header of each column Eg. Severity is one column.

Just below that i want to place a combobox which lists out the types of severity ( Critical , error, info). So when the user

selects say critical, then the table would display only critical errors. Bascically to achieve filtering i want to add

components in the table header.

I saw posts on how to add image in the header…Is it possible to add a combobox just below the column name in the
header

Thanks

As I said above, currently not.

I’ve seen customer projects where this has been implemented by extending the Table, but none of that code is probably available for public use.