5

How is it possible to get the number of rows of a TableView in a TableCell? I tried .getTableRow(), but that isn't what I need. I need it to find out, if the TableCell is the last Cell in the TableView. Or is there another way to figure this out?

regards

S.Pro
  • 633
  • 2
  • 12
  • 23

1 Answers1

27

Found the solution on my own. I'm very ashamed. :-)

getTableView().getItems().size()

That's it.

S.Pro
  • 633
  • 2
  • 12
  • 23