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 / Model driven app with ...
Power Apps
Unanswered

Model driven app with editable Grid - Enable editing data on button click

(0) ShareShare
ReportReport
Posted on by 73

Hi

I have a model driven app with an editable grid to edit asset data. The user can now edit the data when clicking into the different cells of the grid. When the user doubleclicks a row, the edit form will be opened.

 

To avoid data changes by accident we would like to initially disable editing of grid data and add enable editing of grid data when a button "Edit grid data" is clicked. The idea behind is to have an edit mode that is actived when clicking on the button and a read only mode, when leaving the edit mode. Maybe this state of the mode could be stored in a variable but i could not find out how to implement that.

 

Does anyone have an idea how to implement such a edit mode?

 

Thanks in advance.

 

Roland

 

 

 

Categories:
I have the same question (0)
  • RolandM Profile Picture
    73 on at

    Today I found out, that there is a button "Display as" in the command bar of the View. There I can switch manually between the read only control and the editable control.

     

    Does anybody know if this switch can be made with a script (Power FX or JavaScript).

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard