Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How can i set Subgrid Record based on Entity value using javascript

Posted on by 65

I have two Entities,   Passengers (With date&Time field) and Bus (with date&Time field). 

In Entity Bus i created a subgrid of Passengers, 

When i select Particular Date&Time(30/07 8.00 am) then i want to see all the Passengers list who selected the same date&Time (30/07 8.00 am) in subgrid

Any Ideas 

*This post is locked for comments

  • RE: How can i set Subgrid Record based on Entity value using javascript

    this is not supported way and will not work in the new UI(UCI). You can just add the column to the view and ask the user to filter on the column.

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: How can i set Subgrid Record based on Entity value using javascript

    Hi rishireddy220,

    You could achieve this requirement using subgrid filter using javascript.

    Please refer below url for reference:

    github.com/.../filtersubgrid

    nishantrana.me/.../

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans