Nested subgrids in model-driven apps

Want a super easy way to see multiple related records to multiple parent records in a view in a model-driven app? Stick around to find out how to do it! In this post, I’ll show you how to configure nested subgrids for model-driven apps… READ MORE [https://lewisdoes.dev/blog/nested-subgrids-in-mo
tilt shift photo of two white bird eggs on a nest
Photo by Mauriciooliveira109 on Pexels.com
In: Low Code Lewis Content 🚀

Want a super easy way to see multiple related records to multiple parent records in a view in a model-driven app? Stick around to find out how to do it! In this post, I’ll show you how to configure nested subgrids for model-driven apps making this easily possible! 🥰

Editing a view

So let’s start by navigating to the view we want to have the nested subgrid in within our Dataverse solution. I’m going to use my Manchester Bee Doctors Surgey app here and attempt to have medications show in a nested subgrid under a check up as ‘prescribed medications’ for that appointment.

Select the view you want to apply the change to, to continue.

Add component

Now select ‘Components’ and ‘Add a component’

Now this is where we can add the control which let’s us apply nested grids, and we can configure the nested grid.

Here select the table of records that should be shown in the subgrid, and select the view. Then choose the table column which serves as the parent relationship. You can then choose the other option values if they’re things you want to adjust.

Now click done, and then save, and finally save and publish the view.

Nested subgrid achieved!

And that’s all there is! Now check out this nested subgrid I have in my model-driven app! 🚀

Written by
Lewis Baybutt
Microsoft Business Applications MVP • Power Platform Consultant • Blogger • Community Contributor • #CommunityRocks • #SharingIsCaring
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to LewisDoesDev.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.