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 / Grid goes blank on sav...
Power Apps
Suggested Answer

Grid goes blank on saving changes

(0) ShareShare
ReportReport
Posted on by 6
I have made an editable grid using gallery and modern controls however upon saving the changes my grid or gallery shows blank but surprisingly data or the changes I'm making being saved in my data source. Any help would be greatly appreciated. 
 
Categories:
  • AndrianaO Profile Picture
    242 Moderator on at
    Hi!
    Can you tell me more about how you save the data? Do you use the Patch() function?
  • ronaldwalcott Profile Picture
    3,914 Moderator on at
    Are you using a collection as the data source for the grid and saving the updates?
  • AS-07121304-0 Profile Picture
    6 on at
    @ronaldwalcott yes, I'm using a collection to save the updates. Here is my formula:
     
    Patch(
        'Stakeholder Mapping',
        ShowColumns(
            ColGridUpdates,
            'Stakeholder Group',
            'Level of Influence',
            'Impact on Programme',
            'Level of Interest',
            'Level of Support (RAG)',
            ID
        )
    );
    Notify(
        "Stakeholder Matrix Successfully Updated",
        NotificationType.Success,
        3000
    );
    Clear(ColGridUpdates);
    Set(
        varReset,
        false
    );
    Set(
        varReset,
        true
    );
  • AS-07121304-0 Profile Picture
    6 on at
    @AndrianaO I'm using a collection to save the data. Here is my formula for the patch/save updates:
     
    Patch(
        'Stakeholder Mapping',
        ShowColumns(
            ColGridUpdates,
            'Stakeholder Group',
            'Level of Influence',
            'Impact on Programme',
            'Level of Interest',
            'Level of Support (RAG)',
            ID
        )
    );
    Notify(
        "Stakeholder Matrix Successfully Updated",
        NotificationType.Success,
        3000
    );
    Clear(ColGridUpdates);
    Set(
        varReset,
        false
    );
    Set(
        varReset,
        true
    );
  • Suggested answer
    AS-07121304-0 Profile Picture
    6 on at
    @AndrianaO @ronaldwalcott thanks for your responses. I have managed to fix it myself. I was missing on setting the value for default selected item of each drop downs. 
     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard