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

TreeView selectionModel.selectIndices selects incorrect item(s)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 9
    • 8u25
    • javafx

      treeview.getSelectionModel.selectIndices select incorrect items if the items have collapsed parents. See example code below. Apparently the selection model explicitly expands parent items for its select(item) method but fails to do the same for selectIndices. Unfortunately selectIndices is also the only way to select multiple items in one step because there is no selectItems(item...) method.

            jgiles Jonathan Giles
            wlehmann Werner Lehmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: