Suming a specific TableView column/row in JavaFX
问题 I have done this in java where I sum the values of the price column/row. But I am wondering how to do this in JavaFX. I want to sum everything in column 1 and display it in a inputField , I used this to do it in java but how do you do this in JavaFX? tableview.getValueAt(i, 1).toString(); Here is what I'm trying to do: int sum = 0; for (int i = 0; i < tableview.getItems().size(); i++) { sum = sum + Integer.parseInt(tableview.getValueAt(i, 1).toString()); } sumTextField.setText(String.valueOf