Im trying to show in a Datagrid
a Field
that is in a many to many relationship (intermediate table).
I have these tables:
group - group_subject - subject
- A group can have many subjects
- A subject can be connected with many Groups
group_subject also has attributes like rubrics and schedule
It's a many to many relationship. I would like to show in the <Resource>
group
all the subjects that a group is connected to.
Using something like the <SingleFieldList>
:
as this image
I'm using react-admin
. Is there a way to get values in this relationship?