Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ListView dynamic updates

CelerApr 3 2014 — edited Apr 3 2014

All,

I am looking to start using a ListView rather than a tableView for a bit of work I am doing. my ListView is implemented using

@FXML

  private ListView<DataRow> listView;

When I insert an object into this listView and then later try and update the object with a new value the listView is not refreshing. Inside my object I have

private SimpleStringProperty priceProperty = new SimpleStringProperty("0");

And I am updating that value. Does like view work differently to tableView in the way it updates? With the tableView and adding columns this works.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2014
Added on Apr 3 2014
5 comments
3,264 views