I installed a custom CellValueFactory and CellFactory on my TableColumn: I'm programming an address book, Salutation is an enum with values "Mr" and "Mrs".
salutation.setCellValueFactory(c->new ReadOnlyObjectWrapper<>(c.getValue().getSalutation()));
salutation.setCellFactory((tableColumn)->new TableCell());
Unfortunatelly the cells set by my CellFactory don't show anything. (Note: actually I want to use a custom TableCell, I only used TableCell for testing). What is the best way to show the item.toString() String on each cell?
Thanks :)
Thanks