Hi Tatu,
it seems setItemLabelGenerator only works on the "items" side but on the "values" side uses just simple toString().
TwinColSelect<STATUS.Subscription> subcriptions = new TwinColSelect<>();
...
subcriptions.setItemLabelGenerator(item -> item.subscriptionLabel(this::getTranslation));
...
Subscription.java
@Override
public String toString() {
return subscriptionLabel(s -> s);
}
public String subscriptionLabel(Function<String, String> trans) {
if (isStatus()) {
return (trans.apply(“subscribe.status”) + " " + getLabel(trans));
} else {
return (trans.apply("subscribe.event") + " " + getLabel(trans));
}
}
…
and the mixed screen on the attachment.