web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to delete multiple selected records in Simple List and Details?

(3) ShareShare
ReportReport
Posted on by 317

Hi everyone,

I have created a custom form using the Simple List and Details pattern.

On the list (grid) side, the form displays row selection checkboxes and allows users to select multiple records visually.

However, when clicking the standard Delete action, the system deletes only the currently active record, not all selected rows.

I could not find properties such as MultiSelect, SelectionMode, or AllowMultiSelect on either the FormGridControl or the DataSource.

My questions are:


  1. Is multi-selection with checkbox in a Simple List and Details form intended only for navigation/export and not for mass actions like Delete?

  2. Is the recommended approach to implement a custom Delete action using MultiSelectionHelper?

  3. Are there any standard patterns or best practices in D365FO to support deleting multiple selected records in this type of form?

  4.  

Any guidance or confirmation would be appreciated.

Thank you.
 

01a01e22-65ce-42a1-8611-cbefdb462cb4.png
Categories:
I have the same question (0)
  • CU11120505-0 Profile Picture
    2 on at
    Hello!
    In a Simple List and Details form, the multi‑selection checkboxes are mainly for navigation and export, not for mass actions. The standard Delete button only removes the active record, so if you need to delete multiple rows you should add a custom action that uses MultiSelectionHelper to process all selected records. Best practice is to E-ZPassWV provide a clear “Delete Selected” button with confirmation, rather than overriding the default Delete. 
  • André Arnaud de Calavon Profile Picture
    303,085 Super User 2026 Season 1 on at
    Hi Statics 365,
     
    Can you check the grid property Multi Select? On the screenshot you shared, the selection checkboxes are added as a mockup. How did you implement the real checkboxes? Can you share screenshots of the form design?
  • Statics 365 Profile Picture
    317 on at

    Hi André,

    Thanks for your reply.

     

    Just to clarify — the checkboxes in my screenshot were drawn manually, only to demonstrate the behavior that I want. They are not actual controls in the form.

    What I am trying to achieve is simply this:


    • Allow users to select multiple rows in the list, and

    • Perform a delete action on all selected records at once.

    Since the grid in D365FO (Simple List and Details pattern) doesn’t seem to provide a MultiSelect property, I’m not sure what the correct or recommended approach is.

     

    Is there any standard way to support multi-record deletion in this type of form?

     

    Thanks again.

  • Suggested answer
    Sagar121 Profile Picture
    1,151 Super User 2026 Season 1 on at
    Hi,
     
    Please check out my video.
     
     
    I have used info statement you can use your delete code here. 
     
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,495 Super User 2026 Season 1 on at
     
    The Simple List and Details page form pattern has the following abilities:
    1. Inside a Grid Container, if your grid exists then you can't select multiple rows and delete. This pattern is ideally used if you have less than 6 fields to be displayed on the grid. In this case, Multi-selection helper can be used to delete all the records or you will have to write code to retrieve the records selected and then delete those records on the OnClicked event of the Delete button or a custom button.
     
    If you want to delete multiple records, based on selection, then would recommend using a list page and add a reference link that takes into the details page through one of the Fields on the list page. 
     
    2. If you need Multi-select option, then the option is to add a Tab -> Tab Page -> Grid. This form pattern where the Grid sits inside a tab page supports multi-select out of standard form control properties. 
     
    For example, Check the Legal entities screen in Application explorer. You have a Tab -> ContactInfoTabPage -> ContactInfoGrid where the ability to select multiple controls is available through the Multi-select property.
    In the same legal entities screen, check the GridContainer -> LegalEntityGrid and in this case, you won't see the Multi-Select property associated with the Grid, considering the form pattern design in this case. 
     
     
    References:
     
    Hope this helps. Happy to answer questions, if any.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 577 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans