cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
xyzzyx666
Level: Powered On

how to let the gallery show the item the checkbox select?

gallery_checkbox1.png

Hi all,

How to let the gallery show the items the checkbox select? As the screenshot shows. Many thanks!

Super User Rank
Super User

Re: how to let the gallery show the item the checkbox select?

Does the datasource of the gallery include the field for the checkbox?

xyzzyx666
Level: Powered On

Re: how to lBet the gallery show the item the checkbox select?

Hi,

No I made the gallery use the collection:

ClearCollect(countries,{CountryName:"A"},{CountryName:"B"},{CountryName:"C"})

And then add the checkbox into the gallery.

If choose the row's checkbox it will show the row's country's name.

Many thanks.

Super User Rank
Super User

Re: how to lBet the gallery show the item the checkbox select?

Hi @xyzzyx666,

It isn't clear to me what you are trying to do.  What does the gallery show if you don't Check the box?  Are you using it to Unhide a label?  @mr-dang had an elegant solution for hiding and displaying a gallery item.  Check out https://powerusers.microsoft.com/t5/General-Discussion/UpdateContext-and-Visibility/m-p/192688 and see if that is what you are looking for.