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");
});