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

ListChangeListener get null item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4 P4
    • 7u6
    • 7u6
    • javafx

      When add a ListChnageListener to the selected item list of a TableView,each time after loading new items list into the TableView(using setItems()),when we click the TableView and select an item for the first time,the list change event occured,but when we call getSelectedItem() of the selection model,it returns null.The return value is not null when we click the selected item again,or select another item.

            jgiles Jonathan Giles
            wgtjfx wgt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: