Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8098235

TableView refreshing

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u60
    • fx2.1
    • javafx
    • Windows

      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.

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            9 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: