Table with Multiple Headers

Is it possible to set up a table along these lines

So you have multiple heading lines and the header can span multiple columns?
Also allowing the table to only be sorted on selected columns.

That’s possible with your own gwt widget but that is not possible with Vaadin’s Table-component.

Book of Vaadin describes “Developing custom components”. You can skip most of the setup-work if you use Vaadin eclipse plugin and choose “New Vaadin Widget” in eclipse (remember to select ‘build cleint side stub’)