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

Mothed to update TableView manually

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7u6
    • 7u6
    • javafx

      Now it seems that we can only update the content of a TableView by assign a new ItemList with new Item objects in it ,or use Property objects(such as StringProperty) in the model class.
      But we do not want to use Property objects or CellFactories(We want the cells to fetch the string to display from a method of the model class that returns a String object that is build from other internal status of the model class,which can be configured in the fxml file easylly).So,sometimes,we need to update the table content manually ,by using methods such as "setCellText(int iRow,int iCol,String str)",it is very not convenient to not having these mothods.

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

              Created:
              Updated:
              Resolved:
              Imported: