Table bug? - Beta 3

I have a task running that updates by table data periodically. The data is updated fine but I have to click on the table for the new data to display otherwise the old data remains displayed in the table.

I have tried removing all items from the BeanItemContainer and putting them back, recreating a new Bean container, and attempting to select an item in the table. Nothing works but a mouse click on an item in the table within the client.

Update code below:

public void gatherAlerts() {
	List<Alert> alerts = Backend.getAlerts(counter++);
	if (container == null) {
		container = new BeanItemContainer<Alert>(Alert.class, alerts);
		alertTable.setContainerDataSource(container);
	} else {
		container = (BeanItemContainer) alertTable.getContainerDataSource();
		container.removeAllItems();
		container.addAll(alerts);
		alertTable.select(container.firstItemId());
	}

}

The client(the browser) must ask the server for new data. So despite the fact you have modified the state of your application on the server, this will not be visible until the client request again. To work around this , there are pull & push technologies. I use the
refresher addon
to constantly pull from the server.