I try to have a CheckBox
in a TableColumn
linked to a boolean property. I have the TableColumn
configured like this:
cActive.setCellValueFactory(c -> {
return c.getValue().activeProperty();
});
cActive.setCellFactory(CheckBoxTableCell.forTableColumn(cActive));
cActive.setEditable(true);
cActive.setOnEditCommit(event -> {
System.err.println(event);
});
The onEditCommit
event is not fired when I check/ uncheck the box.