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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / is there anyway can we...
Power Apps
Unanswered

is there anyway can we Refresh the gallery control, before screen-On visible code executed?

(0) ShareShare
ReportReport
Posted on by 36

I have a Gallery control which is having checkbox and textbox and combo box.
whenever I check on the checkbox corresponding Combo box and textbox are editable otherwise they are in view mode.

I am currently facing issue like whenever I am checking on the First check box in the gallery along with corresponding combo box and textbox some of the Combo box and text boxes are coming as editable fields in the gallery.


Note: 1.If the Gallery control fully Loaded , and then we  check there is no issue.
2.This is happening only when we checking the first check box in the gallery.


is there any way on landing upon the screen can we refresh gallery control ?
so that On visible we can Reset the Gallery control once Gallery got refreshed

Please let me know any other solutions if you have for this.

Thanks In Advance,
Padmini.

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @padminisravya 

    You can refresh the datasource that the gallery is based on. If it is based on a collection you need to ClearCollect() if the underlying datasource has been modified.

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @padminisravya 

     

    If you are looking to reset the controls inside Gallery on screen visible, then you can set the configurations as:

     

    1) Screen -> On Visible -> Reset(GalleryName)

     

    2) All Controls inside Gallery -> Reset -> varResetGal

    Screen -> OnVisible -> Set(varResetGal,true);Set(varResetGal,false)

     

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard