Sam's Microsoft Dynamics 365 Blog

Thursday 28 November 2019

Nested SubGrid in Dynamics 365

A Grid inside Grid (Nested Grid) feature is available in the previous release of Dynamics 365. It is an interesting feature of Microsoft Dynamics CRM. We all know we can use subgrades to show related records on a form. For example, contact related to an account and opportunities related to a Contact. Now I like that I can see opportunities related to a Contact (Contact is also related to current Account) on the account form but wouldn’t be able to view a list of contact related opportunities from the contact grid on the account record. But…But…But after using the Nested Grid, I can see the opportunity inside my Account Form.



So, let's configure Nested Grid step by step: -

1. I have a Contact grid on my Account form.
2. Open Change Properties of Grid and click on the Controls tab.


3. Click on Add Controls.


4. Choose Editable Grid Control as follows and Add.


5. Click on the Nested grid view pencil control in the Editable Grid section.



6. Now Select Entity related to Contact entity in the Data Source section, as I have selected the opportunity entity.
7. After selecting an entity, now select a View.


8. Now click on ok.



Don’t forget to Save and publish it.

After configure it will look like as shown in below screenshot.



Thanks for reading the article. Hope this Article will helpful for you. Cheers!!!

Web Resource vs PCF vs Canvas App - which of the one is used?

While started working on specific Business Requirements related to custom layout, there is a always common question that "where to star...