I'm trying to create a grid matrix with checkboxes (see picture 1). But I want the checkboxes to be as big as the grid (see picture 2). How can I realize that? Is it possible in Vaadin to make the grid clickable, then you can leave the checkboxes out completely. Or is there another possibility such as buttons?
I use Vaadin 7.
Extend the Button class. Use the style BUTTON_LINK and have no caption. Then use resource icons to swap what is shown. The swapping of icons and saving state should be added as a click listener.