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

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,871)