JavaFX Cannot Dynamic ChoiceBox on TreeTableColumn

Asked 2 years ago, Updated 2 years ago, 104 views

TreeTableColumn<XxxInstance, String>mColumn;
// マ Mapping
mColumn.setCellValueFactory(new TreeItemPropertyValueFactory<("xxx"));
// Ch Displayed on ChoiceBox
mColumn.setCellFactory (ChoiceBoxTableCell.forTableColumn(xxx));

I would like to change the ChoiceBox selection item for each CELL in で, is it possible?
Do you have only setCellFactory settings for ChoiceBox?
I tried to implement Callback, but I couldn't find the configuration method on the CELL side either

java javafx

2022-09-30 16:46

1 Answers

I solved myself.The Callback implementation enabled ChoiceBox to be set for each CELL in setGraphic().


2022-09-30 16:46

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.