Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
How can select table row which included data?
I have a Table and the datasource is an IndexedContainer. I added more items to the contanier, for example: id, name, volume, etc.
The question: How can I select the table row (for example with a push button), which include the specified id?
The table.setValue(id) doesn’t work.
table.setValue() should work in single selection mode. There's also table.select()
Can you share a simple code sample? Is the id you use in setValue() the itemId?
I was can solve the problem in this case. When I put items into the container, I note the itemID of the needed record, and after that I used the Table.setValue(itenID).