Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to display header text in grid column based on the row/cell value dynamically?

Posted on by 30

Hello,

  Is there a way to dynamically change the text of a column header in a Grid based on the valued of the cell text? I have a grid that may have say 10 rows and in a particular column I am displaying some number and a dynamic string. The dynamic string would be same for all the 10 rows at any time for a specific column and users want the column name to be changed dynamically based the string value in the cell. Is there a possibility or work around? 

Thanks,

Dave

*This post is locked for comments

  • Ahmed Issa Profile Picture
    Ahmed Issa 247 on at
    RE: How to display header text in grid column based on the row/cell value dynamically?

    Hi,

    You can do it by override form data source method selectionChange(), and this is an example of override it

    alfasith.blogspot.com/.../selectionchange-in-dynamic-ax.html

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