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 / Update gallery data wi...
Power Apps
Answered

Update gallery data with Save button "Excel"

(1) ShareShare
ReportReport
Posted on by 111

Hi

 

I'm facing small issue. I have vertical gallery with editable controls so it is looks like excel each row has save button.

 

save button has this code "I'm testing only one column" :

 

Patch( Table1,ThisItem,{Column1:TextInput8_17.Text});
Notify("Data updated successfully!", NotificationType.Success);
Refresh(Table1);
 
 
it is already update in excel and in the gallery " for second" and it returned back to the old data but in excel it has the new data. and it require me to refresh the data manually. so I think I need to add delay before refreshing the data, but I don't know how much.
 
note that I have 14 columns that the user can edit so I will add them to the code later after solving this issue, but I'm not sure if the delay will be extended or not.
Categories:
I have the same question (0)
  • Verified answer
    anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @ASH3 ,

    The issue you are facing with the gallery updating and then reverting to the old data temporarily is likely due to the time it takes for the data to be patched and then reflected back from Excel. Adding a delay before the Refresh should help, but instead of guessing the delay time, it would be better to wait for the operation to complete.

     

    Patch(Table1, ThisItem, {Column1: TextInput8_17.Text});
    Notify("Data updated successfully!", NotificationType.Success);
    
    // Introduce a delay
    Timer1.Duration = 2000; // 2000 milliseconds = 2 seconds
    Timer1.Start();

     

     

    • Add a timer control (Timer1) to your screen.
    • Set the timer properties as follows:
      • Duration: 2000 (for 2 seconds)
      • AutoStart: false
      • Repeat: false
    • Add this code to the OnTimerEnd property of the timer:

     

    Refresh(Table1);
    ​

     

     

  • ASH3 Profile Picture
    111 on at

    Hi @anandm08 

    Thank you so much !!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard