Hello community,
a question: I have actively marked a record in a gallery. Is it now possible that I unmark this dataset again so that no dataset is marked in the gallery.
Is that possible? And if so, how?
Best regards
RoScha
Solved! Go to Solution.
Hi @RoScha,
You can surely do this. Set the Default property of your gallery to {}
Then whenever you want to unselect a record, simply call the Reset(Gallery) function like for example, on the OnVisible of a screen.
Let me know if this helps.
---
If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions.
Thanks!
Hardit Bhatia
Microsoft Business Applications MVP
Microsoft Certified Trainer MCT
What do you mean with "marked"?
Hello @FrostedFlake
first of all: yes you are right. English is not my native language and until today Google has helped me 😉
So what I mean now with "marked"?
Well, when I click on a record in the gallery, it is marked. Selected.
But now I want that when I start a new screen, no record in a Gallery is marked. The Gallery is displayed without a record already selected.
That is what I want to achieve.
Does this make it more understandable for you? I hope so.
I got it, but i can't help you there. Try www.deepl.com to translate into english 🙂
Hi @RoScha,
You can surely do this. Set the Default property of your gallery to {}
Then whenever you want to unselect a record, simply call the Reset(Gallery) function like for example, on the OnVisible of a screen.
Let me know if this helps.
---
If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions.
Thanks!
Hardit Bhatia
Microsoft Business Applications MVP
Microsoft Certified Trainer MCT
Glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!
Thanks,
Hardit Bhatia
The Power Addict
https://thepoweraddict.co
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
255 | |
127 | |
85 | |
84 | |
68 |