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

TableView refreshing

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 8u60
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: