Multiple Components in one column of JavaFX TableView
I am working with JavaFx 2.2. I am having a problem that I am not able to place different components in a TableView Column. For example I have two columns 1) Answer 2) AnswerType If AnswerType contains “Multiple Choice” then the corresponding cell in Answer Column should display a ComboBox else it should display a TextField. I have a code example below but its displaying either ComboBox or TextField but not both in different cells of same column. import javafx.application.Application; import javafx.beans.property.SimpleStringProperty; import javafx.collections.FXCollections; import javafx