I should create a list (displayed as a table) in an entity. The records to be loaded into the list in screen must be selected from another entity (One to many). I want to add or remove an entity in table. What can I do? Thank’s
Hi,
Maybe this guide will help you?
https://www.cuba-platform.com/guides/data-modelling-many-to-many-association
Here we have:
- many-to-many relation between Vet and Specialty entities
- Vet editor and Specialty editor screens - both display related entities in a table.
- example screens use add, exclude and remove actions to add or remove related entities.
What’s the difference between “remove” and “exclude” - see in the manual:
https://doc.cuba-platform.com/manual-7.2/ExcludeAction.html
Perfect thanks for the help