Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use it with Combobox Tablecell in Tableview #3

Open
shaileshsathe opened this issue Aug 1, 2018 · 0 comments
Open

How to use it with Combobox Tablecell in Tableview #3

shaileshsathe opened this issue Aug 1, 2018 · 0 comments

Comments

@shaileshsathe
Copy link

shaileshsathe commented Aug 1, 2018

The example is very helpful. But how to use this with Combobox table cell in TableView.
for example I have table column like

@FXML
 TableView tableView;

@FXML
 TableColumn<DataSortingTableModel, ParameterModel> parameterColumn;


ObservableList<ParameterModel> parameterList = = FXCollections.observableArrayList();

parameterList.add(new ParameterModel(1, "Param1"));
parameterColumn.setCellValueFactory(value -> value.getValue().getParamterName());
parameterColumn.setCellFactory(ComboBoxTableCell.forTableColumn(parameterList));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant