Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

FormGrid refresh after casecade delete action

(0) ShareShare
ReportReport
Posted on by 131

I have a form having two tabs with different data-source but there is parent child relation between two tab's data-source. What I want is when i delete parent the child also delete but the child grid did not get refresh and values are still their only in the child tab actually data is removed from database. Below is the SS (General tab data-source is parent and goal data-source is child)

3835.pastedimage1672788793651v1.png

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: FormGrid refresh after casecade delete action

    Hi itlabnarmi_ivoruk,

    Try to call the child DataSource research method on the parent DataSource delete method.

    public void delete()
    {
        ChildTableDataSourceName_ds.research()
    }

    Thanks,

    Girish S.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans