Forum Discussion

exdunepilot's avatar
exdunepilot
Contributor
7 years ago

Using wValue on a JavaFX TableView object returns strings but not objects

We have TableView objects that are scrollable (only a subset of rows displayed).  We found that we can still obtain values of non-displayed rows by using wValue[] since the TableView object does contain the total wRowCount.  However, wValue[] returns cells that contain strings, but "False" when they contain objects.  Our implementation language is Python.

 

In the end we're trying to get all rows & their cell values (displayed & not displayed) without doing something clumsy like scrolling.  How can we obtain cell that contain objects and are not displayed?

1 Reply

  • The answer for us is:  table.getItems().get( row ) which then gives us access to the methods of the custom class, whether row(s) is visible onscreen or not.