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

TableView not being updated

XMLWordPrintable

      I am opening multiple table views which are backed by the same observable list. When I edit a cell in one of the table views, that view is updated but the other ones are not. If another view is opened after the update it shows the correct(updated) value.
       I have attached modified the TableviewSample application in JavaFX tutorials for this use-case
      Steps:
      1. Launch the application and click the 'Open Table' button.
      2. A window opens which contains table view of the Person objects (Tableview 1).
      3. Open another view by following step 1(Tableview 2).
      4. Now edit any cell in Tableview 2.
      5. The Tableview 1 is not refreshed but if you open another table view then the data in the table reflects the change

        1. Main.java
          10 kB
          Arvinder S Brar

            jgiles Jonathan Giles
            abrarjfx Arvinder S Brar (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: