Notifications
Announcements
Hi, how do I set always auto default to 1st/latest record on my filter gallery? as my current scenario.. If I hit 2nd row or what ever row..when I quit from that page & come back to the list, it will default to the last row/item that I have already hit..
Thanks
Hi @twister :
Do you want to make the gallery to select the first item in the gallery by default when you come back to this screen?
If so,please try this solution:
1\ set the Screen(The screen where the Gallery is located)'s OnVisible property to
Reset(GalleryName)
2\Clear the gallery's Default property
Best Regards,
Bof
actually my gallery has search,sort & filter function to display the list.. not working as example above..
Could you provide more details?What is the specific formula? Which controls are involved and where are these controls? How did they set it up?
In addition, I think this should not have an impact.
First Select ID = 65
After back, Gallery 1st is set back to latest ID, but 2nd Gallery not reset.
Please try:
1\Set the screen's OnVisibleReset(Gallery1)
2\Set Gallery2's Items property to:
Filter(XXX,Title=Gallery1.Selected.ID)
I think it is better not to use variables in this case.
If you insist on using variables, you can also try this solution:
1\Set the screen's OnVisibleReset(Gallery1);Set(varRecord1,Gallery1.Selected)
I tried to use variable.. but same result.. Gallery 2nd not reset.
In addition, could you please tell me what changes you made every time you reply?
actually I just changed as your advise.. only this..
If you insist on using variables, you can also try this solution:1\Set the screen's OnVisibleReset(Gallery1);Set(varRecord1,Gallery1.Selected)
issue resolved if not using variables..
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 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268