Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Filtering display method column on a listpage form

Posted on by 640

Hi,

 I've added a column in listpage form and the column is a display method.

 I cannot able to filter the records in the form grid by the display method column.

 When I'm trying to filter the form grid(By pressing Cltrl + G), the display method column is non-editable.

 Is there any way to filter the records in the form grid by adding filter in display method column.

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Filtering display method column on a listpage form

    Hi,

    No you cannot filter display methods inside the grid. You can just add the filter inside your code.

    Also as Martin said, you can write your code in a computed column in a view.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    RE: Filtering display method column on a listpage form

    No, it's not possible. Database queries are executed on SQL server and it can't call X++ method in AX. Your only option is to filter the fields used by the display method.

    Nevertheless if you use a computed column instead of a display method (which must be done in a view), you can filter by it.

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