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

TableView, TreeTableView : getSelectedCells contains incorrect info.

XMLWordPrintable

      TableView, multiple-selection mode.

      Using shift+click select rows on indices 0, 1, 2.
      Using shift+click deselect them in reverse order, so that only row 0 is selected. Print out getSelectedCells.

      I see :
      [TablePosition [ row: 0, column: javafx.scene.control.TableColumn@3a9d3aa3, tableView: TableView@1751991c[styleClass=table-view] ], TablePosition [ row: 0, column: null, tableView: TableView@1751991c[styleClass=table-view] ]]

      Obviously, information dublication.

      But, further it affects badly : one of them will be removed on some key combination later, but another one will stay alive until something clear it away, that results in incorrect info about selection.

            jgiles Jonathan Giles
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: