JavaFX-8 - How to get the number of rows in a TableView?

How can I get the number of rows a TableViewin TableCell? I tried .getTableRow(), but that is not what I need. I need to figure this out if TableCellis the last cell in TableView. Or is there another way to understand this?

considers

+4
source share
1 answer

I found a solution myself. I'm very embarrassed.: -)

getTableView().getItems().size()

What is it.

+15
source

All Articles