O'Reilly logo

Vaadin 7 Cookbook by Ondrej Kvasnovsky, Jaroslav Holan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Binding a container to a component

It is easy and quick to create a table in Vaadin. Because Table is managed using the data model through the Container, we don't need to care about table rendering. We can manage only the Container and Vaadin provides other stuff such as nice default CSS style, sorting values by clicking on the head of the column, resizing width of columns by the mouse, and other great functions. In relation to the previous recipe, Container is a set of Items. In this recipe, we will show how to quickly and easily create a table by Vaadin Container.

Binding a container to a component

How to do it...

Carry out the following steps to bind a container to a component: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required