Ask a Question

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

exdunepilot
Contributor

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 1
exdunepilot
Contributor

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

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.

cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Community

Ask Community Experts

Join more than 100,000 users worldwide. Ask questions, request features, post replies, award kudos, and more.

Join Now For Free

Already a member? Sign In