I have defined a tableview in fxml. It is something like the following:
SNO Name DOB Action
The Action column would contain buttons in each row with text "delete". I have two questions:
- How do I add this delete button to each new row last cell in javafx?
- How do I get the index of the row whose delete button is clicked?(So that I can delete the row or do other event handling work)