Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to Custom delete button on select record in Subgrid. Change onclick Function of trash icon

Posted on by 50

Hello, I'm have one Sub-grid .

In Sub-grid have a few record , 

Now, I want  custom button delete on select record in Subgrid  , Change to When the me Click()  then instead of delete record , It's will Deactive record there .

I tried change tooltip of button delete and It has been active, But I not way to change the event onclick="Mscrm.GridControlLite.DeleteRecordLite(this)" to Event Deactive . 

May everyone help

Thank You Very Much!
aaaaaz.png

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How to Custom delete button on select record in Subgrid. Change onclick Function of trash icon

    Hi Yuta,

    I am afraid there is no supported way to achieve this requirement. You could look for creating your own subgrid using html web resource. You can refer thi sthread on options to create your own subgrid-community.dynamics.com/.../169230

    Hope this helps.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans