I am currently struggling with a pre-search filter that should be applied to a "Crossing Group" lookup, so the lookup should only displays those 3 Crossing Groups that are added to the grid (marked with green).I am trying to use the addCustomFilter method, but this cannot be applied to an "attribute" but only to a "control". Are there any ways to add a pre-search filter in a grid column ?. My code:
@OsmanEsen
I am afraid this might not be possible using the PreSearch filter , as per the documentation it is available for formContext not gridContext
https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/controls/addcustomfilter
The alternative way would be to do it using a custom PCF control.
Thanks for the reply
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 836 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
MS.Ragavendar 231 Super User 2025 Season 2