web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Filtering display method column on a listpage form

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,817 Most Valuable Professional on at

    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.

  • Verified answer
    Community Member Profile Picture
    on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans