how to have 2 components in the same table cell

I implemented this using custom component. i added the 2 components (lable + botton) in a layout and then added this component in the cells. I have some actions to be performed when on ItemClickListener as well as on click of the button custom component. so when i click on the label i want the ItemClickListener of the table to be triggered and when clicked on button the button click event. is this possible?

Or alternate way to have 2 components in single cell?


I believe the layout eats your click event before it reaches the table. You could try this addon:!addon/tableclickforwarder
to see if it helps. Do note that it doesn’t yet support the latest versions of Vaadin (7.4).