Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Display Method Refresh Issue After Adding Columns to a Grid (D365FO v40)

(2) ShareShare
ReportReport
Posted on by 25

Hello everyone,

I am facing an issue in Dynamics 365 Finance and Operations (D365FO) version 40.

When I add a new column to a grid using the "Insert Columns" option, the controls below the grid, which are populated using display methods, remain empty in version 40. This behavior is different from version 30, where the controls would automatically refresh and display the expected values.

To work around this issue in version 40, I have to manually refresh the form to see the values.

Details of the issue:

  1. I add a column to the grid via "Insert Columns".
  2. The controls below the grid, relying on display methods, do not update automatically (they remain empty).
  3. In version 30, this issue did not occur, and the controls were updated immediately.

What I’ve tried:

  • Manually calling dataSource.refresh(), dataSource.reread(), and element.design().refresh(), but this hasn’t fully resolved the issue.
  • Checking the AutoRefresh properties of the affected controls.

    My questions:

  • Is there a specific solution or event to trigger the refresh of these controls without having to reload the entire form?
  • Could this behavior be related to changes in the data lifecycle management between versions 30 and 40?
  • Are there any best practices or approaches to handle this type of scenario?
  • Thank you in advance for your help and suggestions!

    Version 30( after adding a column to a grid)

    Version 40( after adding a column to a grid)

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,514 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans