I would like to create a TreeGrid to model the structure on my entity, and I am curious if this capability is currently supported?
Is it possible to setup a TreeGrid such that I could see a List of Person Objects that then has the Embedded Objects as child nodes? All of the examples appear to assume that child records are identical to the parent record in structure.
Code:
@Entity public class Person { @Id @GeneratedValue private long id; @Embedded private Name name; @ElementCollection @CollectionTable Set<Phone> phones; @ElementCollection @CollectionTable Set<Address> addresses; }
Comment