Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

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.

  • 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 225,490 Super User 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.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans