navigation from one tab to other in tabsheet


i am new to vaadin and i need some help.

i have a tabsheet with 4 tabs. and each tab has a table inside. The table inside 1st tab has three rows each corresponding to the other tabs. i want to create a row click event (on table inside 1st tab) so that when I click the ist row i navigate to 2nd tab, and when i click 2nd row i navigate to 3rd tab.



I would probably add an ItemClickListener to the Table, and upon receiving an ItemClickEvent just check the itemId to know which row the click corresponds to. After that it should be easy to call setSelectedTab on your TabSheet using a relevant parameter.