JavaFX: How to get all rows in TableView

3.6k views Asked by At

I'd like to know the best & most efficient way to get JavaFX TableView data to a collection. I want to get all rows inside a JavaFX TableView.

1

There are 1 answers

0
MMAdams On

There is a getItems() call you can make to get the contents of a TableView. It returns an ObservableList which is a type of Collection.