How to update cell values in vaadin table?

How can i update/refresh the cell values in vaadin table with creating a new table? new values come are generated by code.

That depends a lot on the container type you’ve bound to the table. The question would more properly, how to update the values in the container you’re using. When you update the values, the table is updated automatically.

If you’re using the default IndexedContainer, which is writable, you can write cell values with table.getContainerProperty(itemId, propertyId).setValue(). Or, if all data is updated, you could call removeAllItems() and then add the new data.