Suppose we have following Entity Form configured for Lead Entity in Edit Mode which is having Contact Sub Grid in it.
Contact Us Lead Form with Contact Sub Grid:
Entity Form Configuration:
The Sub Grid renders as read only
We can further customize Sub Grid creating related Entity Form Metadata of type Sub Grid.
Suppose we have added all the below View and Item Actions to our Sub Grid type metadata.
On refreshing the page, we can see all the actions available as buttons in the page.
For Create to work we need to define the Insert Entity Form for Lead.
Download lets the records to be downloaded in Excel
Associate lets the current lead record to be associated to the contact record selected.
View Details opens up the Entity Form defined in the Read Only mode. Edit opens the Entity Form to edit the record. The Entity Form must be configured and defined in the Item Actions for it to work.
Run workflow can be used to run On Demand Workflow(s) configured.
Delete, Disassociate and Deactivate does what it means and doesn’t need any specific configuration.
Hope it helps..