Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

Keep marking after applying different filters.

Posted on by 43

Hello everyone, I have a form where the grid's marking functionality is used. Some records are marked, and then another form reads the records that are marked and adds them to a temporary table. The MultiSelectorHelper class is used to obtain these marked records from the grid. So far, everything is fine. But the client requirement is to be able to filter some data, mark all that appear, remove the filter, apply a new filter, and mark all those records as well, repeating this process as needed.

The problem is that the grid's marking disappears once it is refreshed, so I lose that marking, which is then used to assign records to the temporary table.

I've thought about it and have some options that require many code modifications. Is there any way to achieve this without having to rethink all the logic?

  • Martin Dráb Profile Picture
    Martin Dráb 228,625 Most Valuable Professional on at
    Keep marking after applying different filters.
    Your design doesn't sound feasible to me.
     
    Consider using a special column in the grid that will be used for marking. It will be bound to an edit method, which will directly add information to the temporary table.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,556 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,625 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans