I am working on a project a i want to get the selected data of tableview but i am using FXML.
I have codes for no-FXML but i am unable to use it for FXML.
code:<
If you want the selected row index, then use
table.getSelectionModel().getSelectedIndex();