Hello Jmix team,
I’m thinking how to configure the filter component to be able to apply filtering for a generated column in a table.
I have the following:
@Install(to = "myTable.personName", subject = "columnGenerator")
private Component personNameColumnGenerator(final Person person) {
String personName = person.getName();
if (Objects.isNull(person.getName())) {
personName = String.format("%s %s %s",
person.getFirstName(),
person.getMiddleName(),
person.getLastName());
}
return new Table.PlainTextCell(personName);
}
Is this even possible right now?
Thanks!
Konstantin