I\'m trying to put a ComboBox in a table cell, but I can\'t. the code is the next:
private void cargaTablaDesglose() { TableColumn col
The part of the problem is that you're trying to set cell factory into cell value factory field of TableColumn. Try this instead:
TableColumn
ObservableList cbValues = FXCollections.observableArrayList("1", "2", "3"); TableColumn column2 = new TableColumn<>(Desglose2); column2.setCellFactory(ComboBoxTableCell.forTableColumn(new DefaultStringConverter(), cbValues));