TreeView does not update TreeItem

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • 8
    • Affects Version/s: 7u15
    • Component/s: javafx
    • Environment:

      The selected TreeItem does not updated if value changed, even I use the next code:
      EventType<TreeItem.TreeModificationEvent<Object>> eventType = TreeItem.valueChangedEvent();
      TreeItem.TreeModificationEvent<Employee> fireItem = new TreeItem.TreeModificationEvent<>(eventType, selected);
      treeView.fireEvent(fireItem);

      Start the file with argument "event" to send the event, or try without them. Select child node, change value, press the button.
      The value is updated only by collapse/expand the root node.

      src: http://ubuntuone.com/5hTUmcqthNUYu0aTZJtprC

            Assignee:
            Jonathan Giles
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: