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 / Refreshing a datatable
Power Apps
Answered

Refreshing a datatable

(0) ShareShare
ReportReport
Posted on by 22

Hi!

 

I have a datatable that shows a sharePoint document library. This library has a couple of columns (Seller, StartDate, status)

 

I have a button "properties" that navigates to a edit/view screen where the above fields are shown and editable (each field.defult shows datatable.selected.Seller,  datatable.selected.StartDate, datatable.selected.Status)

 

I then have a "Save"-button that runs a Flow that saves the powerapp fields to the coresponding sharepoint column field.

 

This all works perfectly and my sharepoint list gets updated. But when i navigate back to my data table, choose the same file again and click "properties", the same properties as before the edit is shown. If i "F5" the powerapp, the changes will be visible. Or if i just close and reopen it.

 

I have tried using Refresh(<MyDatasource>) together with the "Save"-button but that does nothing.

 

Is it possible to update my datatable from the sharepoint source without reloading the entire PowerApp? 

Categories:
  • Verified answer
    joheri85 Profile Picture
    22 on at

    Ofc as soon as i posted i figured it out. If i but Refresh(<datasource>) on the button that navigates from the datatable view to the edit/view card it all updates.

     

    EDIT: I spooke too soon. it dint work

     

    EDIT2: It seems puting the Refresh(<DataSource>) at the end of the OnVisibe property of the screen that houses the datatable fixes it.

  • AnaLarreal Profile Picture
    7 on at

    your post was very usefull for me

  • Gyllentid Profile Picture
    894 on at

    Hey @AnaLarreal what does " at the end of the OnVisibe property of the screen that houses the datatable" mean? I am trying to replicate.

  • AnaLarreal Profile Picture
    7 on at

    I guess you have the datatable on a screen. In the Onvisible property of that screen, place the refresh statement of the datatable. Did I explain?

  • Gyllentid Profile Picture
    894 on at

    Yes, thanks!! I don't know how I didn't understand it... 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard