Fix table header position

Is it possible to fix a table header so that it’s visible also when scrolling down?

I would like to have something like this

http://www.imaputz.com/cssStuff/bigFourVersion.html

Thank you

Hi

How does you implement your table? In my tables it works like you want.

Greets

You’re right. I checked the demo (http://demo.vaadin.com/sampler#TableHeaderIcons) and it seems that this is a default behavior. Obviously I set a wrong size or something like that.
I’ll check.

Thanks

If you put the table in a panel and use the panel for handling the scroll, then the header will scroll away.
If you let the table handle the scrolling itself, then the header stays where they are.