cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RoScha
Helper V
Helper V

no record selected in the gallery

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

1 ACCEPTED SOLUTION

Accepted Solutions
PowerAddict
Super User
Super User

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

Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

View solution in original post

6 REPLIES 6
FrostedFlake
Resolver I
Resolver I

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 🙂

PowerAddict
Super User
Super User

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

Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

View solution in original post

Hello @PowerAddict 

that is exactly the solution. Many many thanks.

 

Best regards

RoScha

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

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,201)