class Person{
int id;
String name;
Date bornDate;
Rol rol;
}
class Rol{
int idRol;
String description;
}
How can I do to show Rol.description in Grid?
class Person{
int id;
String name;
Date bornDate;
Rol rol;
}
class Rol{
int idRol;
String description;
}
How can I do to show Rol.description in Grid?
Hi,
like this (assuming you have the following getters):
grid.addColumn(person -> person.getRol().getDescription());
-Olli