Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Run Javascript on Editable Subgrid

Posted on by 1,545

In an editable subgrid, we need to hide an option in an optionset field.

So I guess my question is: how do we run scripts on an editable subgrid?

I saw some posts that show how to run a script on an editable grid (main entity). But I haven't found one for child entity.

Thanks!

*This post is locked for comments

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Run Javascript on Editable Subgrid

    Hi Yvan ,

    I tried to run script for  add remove options but unfortunately this is not working . Seems this is a limitation of editable grid .

    Here you can see my analysis  -

    community.dynamics.com/.../279872

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Run Javascript on Editable Subgrid

    Hi,

    Most of the people failed to remove option from editable grid view. But you can still give it a try, in case you cant make it , most likely it is still a limitation of editable grid view. You can refer the below discussion.

    community.dynamics.com/.../288966

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Run Javascript on Editable Subgrid

    Hi Yvan Leclerc,

    This article explains how to work with editable grid objects and methods.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans