Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Custom Filter doesn't apply to Grid after Returning from View Hierarchy

(0) ShareShare
ReportReport
Posted on by 5

Dear Community,

We have a Grid with custom filter ( to list contacts of all child and grandchild accounts) applied in Contacts tab of the Account form. The custom filter is triggered on both Form onload event and Contact "Tab State Change" event.  And It works perfectly.

But, When the user clicks on View Hierarchy and clicks back button in the browser,  the applied custom filter resets and the grid lists all the contacts.

Have anyone encountered the same issue? Could you please advise how we could apply the custom filter in grid after returning from View Hierarchy Page.

Kind regards

Vignesh

  • Vignesh S Profile Picture
    5 on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    Will check this out. Thank you!

  • Vignesh S Profile Picture
    5 on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    Hi Lu  Hao,

    Its the same behavior across all browsers.

  • Neil Catubig Profile Picture
    on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    Hi Vignesh,

    Thanks for continuing to reach out to the Dynamics 365 Community!

    Please do let us know if this has been resolved or if you still need additional assistance on it?

    Thanks,

    Neil

  • Linn Zaw Win Profile Picture
    3,407 on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    It seems like the Form onLoad event is not triggered after returning from View Hierarchy Page but the grid refreshes and reverts back to the normal filter.

    Can you try to add the custom filter code to the GridControl.addOnLoad event?

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/grids/gridcontrol/addonload

  • LuHao Profile Picture
    40,886 on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    Hi Vignesh?

    Have you tried different browsers?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 57

#3
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans