Table Bean Item Container Changes not Showing on UI

Hi ,

I am using a Table with a Bean Item Container.
And Using following methods to change the table data.
table.setConatinerDataSource(container);

container.removeAllItems();
container.addAll(list); // list is an Arraylist of Bean

But the table on UI doesnt show any changes.
When I manually refreshes the page it reflects the data.

Please suggest any solution…

Regards,
Tarun Sawlani

Hi,

Are you doing those changes in another thread? If so take a look at
here
.

In case this is not the threading issue, as some have complained about similar problems with TreeTable, I made a
quick test
about this and did not notice any problem.