[PUSH] Vaadin grid row item is not updated even calling ui.access

Hi guys,

when trying to delete a record from table, we are updating a progress bar by calling ui.access. However, first time it doesn’t reload grid, and we’ll need to F5 browser in order for PUSH to work the second time. Why is this?

Sample code is as below:

ui.access(() -> {
progressBar.open();
progressBar.getProgressBar().setValue(value);
progressBar.setProgressLabel("Deleting " + (int) value + "/" + grid.getSelectedItems().size() + " records");
});

Are you updating the Grid’s DataProvider with dataProvider.refreshAll() after the deletion?