posted 9 years ago
i guys!
Guys, I have an entity that was one relationship many to many with another entity. Lets say:
person <--> document
And In that n-n relationship I hve an attribute like:
- documentValue
Imagine:
Document
Id - 1
Description - Person Identifier
Person:
Id - 293
Name - Optimus Prime
AND the relationship means:
personID - 293
documentID - 1
documentValue - 10024512414
.. and so on.
Now I need a component that alows to show me for ALL the documents from all "persons".
Like a datatable... Or something like that.
The problem is:
One person can have 1 document
and anothe person can have 20 documents.
How to show that nicely on the view? PS: its not mandatory that all documents have to be shown by default.
I can just show them when I click on a button, or do something like that. It would be better if I could show them all
in a pretty way, and paginated way (lazy loading)!!
Thankss!