web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / OnVisable Reset Checkb...
Power Apps
Unanswered

OnVisable Reset Checkboxes Inside and Outside of Gallery

(0) ShareShare
ReportReport
Posted on by 18

I have a gallery where checkboxes can be selected individually and a checkbox outside the gallery to select all.

Issue: When using OnVisable in the main screen, I'm unable to reset both inside and outside checkboxes. If I use the outside to select all, that is the only checkbox reset and all items inside the gallery remain checked. If I select the gallery items individually, the checkboxes are reset correctly. 

 

Outside Checkbox:

OnCheck: UpdateContext({CheckCheckbox:true});ForAll(Collect(checkedRow,Gallery4.AllItems),ThisRecord)

OnUncheck: UpdateContext({CheckCheckbox:false});Clear(checkedRow)

Reset: AllCheckboxReset

 

Inside Checkbox:

Reset: ResetCheckbox

 

OnVisable (Main Screen):

UpdateContext({ResetCheckbox:false});
UpdateContext({ResetCheckbox:true});

UpdateContext({ResetSearch:false});
UpdateContext({ResetSearch:true});

UpdateContext({AllCheckboxReset:false});
UpdateContext({AllCheckboxReset:true});

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 101 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 70

Last 30 days Overall leaderboard