Skip main navigation

New offer! Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

Configure Editable Grids

Microsoft Dynamics 365 and the Power Platform

In the last step, we uncovered Using Specialised Form Components. In this step, we learn about Configure Editable Grids.

Editable grids are special controls for editing select fields from a view without needing to open the specific record. This feature is available out of the box but must be added to the entities in Dynamics 365 for Customer Engagement. Editable grids are available to use in views and as sub-grids placed on forms. You cannot create new records via the editable grid – you may only use it to update existing records. These controls use the custom control framework.

Data changes made within the editable grid will have the same impact on Workflows and Business Rules with a scope of Entity or All Forms as if the same data changes were made on the form. Autosave will complete as the user moves on to the next record in the grid.

In order to use editable grids, you will need to explicitly enable the feature for each entity and enable each sub-grid on a form.

To enable the editable grids, you must first add the control on the entity definition.

MB200-1-03-03-02-01-1

Once enabled you can perform direct inline editing of records for records of that entity type.

MB200-1-03-03-02-02-1

In addition to the ability to edit records from the grid, you can also group records.

MB200-1-03-03-02-03-1

To enable an editable sub-grid on a form, you must start from the form where the sub-grid is located. In our example below, we are looking at the Contact sub-grid on the Account form.

Double-click on the sub-grid to open its properties.

MB200-1-03-03-02-04-1

On the Controls tab, select Add Control.

MB200-1-03-03-02-05-1

Select Editable Grid.

MB200-1-03-03-02-06-1

You will now have the same editable grid functionality available on the Contact sub-grid on the Account form, including grouping. When the data changes from an editable sub-grid are saved, the hosting form will not also execute a save. This means that the change that you made to the Contact record will save but an additional save will not fire on the Account record.

MB200-1-03-03-02-07

Next up, we’ll be finding out more about Configure Special System Views.

This article is from the free online

Dynamics 365: Using Power Platform Applications

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now