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.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,083)