I use Java FX 2.1 (2.2 albo doesnt work) version and I have a problem with TableView refreshing. Below is my pseudocode:
table.getItems().clear();
ObservableList<Entity> entities = {getting list of entities from DB}
table.setItems(list of entitites);
The code works with Java FX 2.0.2 version but after upgrade to new version it does'nt work. I am getting new portion of data from db and replace list but table rows doesnt refresh.
I attached my simple test case. When you click refresh button, data in the table does not change, but when you make column 'name' invisible and the next visible data will change.
table.getItems().clear();
ObservableList<Entity> entities = {getting list of entities from DB}
table.setItems(list of entitites);
The code works with Java FX 2.0.2 version but after upgrade to new version it does'nt work. I am getting new portion of data from db and replace list but table rows doesnt refresh.
I attached my simple test case. When you click refresh button, data in the table does not change, but when you make column 'name' invisible and the next visible data will change.