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).