javafx: attach ChoiceBox to a TableCell on a TableColumn during Edit
问题 The code below are instance methods of an object. private StringProperty buySell; // getters public String getBuySell(){ return this.buySell.get(); } // return Property Object public StringProperty buySellProperty(){ return this.buySell; } // setters public void setBuySell(String buySell){ this.buySell.set(buySell); } In my Controller class, I have created a TableColumn for buySell string property with the code below. When I created a transaction, there will be a new row on the tableView .