edvin
expander.getExpanderColumn().setCellFactory(param -> new MyCustomToggleCell<>(expander.getExpanderColumn()));