Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Re calculate grid disp...
Finance forum
Suggested answer

Re calculate grid display method columns when the value of a Form Real Control Changes.

Posted on by 6
Hi all,
I have a Grid control that has 3 display method columns aside regular columns from a datasource. I have a Form Real Control, that when i modify its value, i want to use this new value to calculate new values for all the 3 display method columns on the grid. How do I please achieve this? Thanks.
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,572 Moderator on at
    Re calculate grid display method columns when the value of a Form Real Control Changes.
    One way would be calling datasource reread along with research else you can call the 3 display method on modified of that control.
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,316 Super User 2024 Season 2 on at
    Re calculate grid display method columns when the value of a Form Real Control Changes.
    Hi,
     
    you must refresh datasource when the values have been changed.
     
    for e.g.
    {{yourDataSource}}_ds.refresh();
    {{yourDataSource}}_ds.reread();
    {{yourDataSource}}_ds.research();
    Best regards,
    Mohamed Amine MAHMOUDI
  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,316 Super User 2024 Season 2 on at
    Re calculate grid display method columns when the value of a Form Real Control Changes.
    Moved to finance form

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans