I use a model-driven app to edit some entries of customers.
Two columns are Yes/No-Choices that are currently displayed as the strings 'Yes' or 'No'.
I already found out that i can use the Power Apps grid control to change them to toggles, but the entry itself automatically becomes editable directly inside the grid as well.
It should only be possible to edit an entry by selecting it and clicking the edit command to avoid accidental modifications.
Is there a way to change these columns ('attachXML' and 'driverCC' in the attached screenshot) to toggles, which would look much prettier?
Current Limitation (Reason Why It Doesn’t Work)
In model-driven apps, the only way to show Yes/No values as toggles is by enabling the Power Apps Read‑Only Grid or Power Apps Editable Grid, but:
The toggle visualization is only available in the Editable Grid.
The Editable Grid always allows inline editing, cannot be disabled for just 1 column.
The Read‑Only Grid does not support toggle UI, only text.
If you want read‑only toggles in a model-driven view:
Best option → Use a read‑only PCF Control (Shows as toggle, cannot be edited.)
Simplest option → Use Read‑Only Grid + formatted Yes/No (No toggle UI, but visually improved and stays non-editable.)
Option 1:
Use the Power Apps Grid but disable editing at the table level
You can disable editing of the entire table in the grid, but it affects all fields, not just Yes/No.
How:
Turn off “Enable editing in grids” for the table in the solution.
This makes toggles appear but users cannot change any column inline.
Pros:
You get the toggle UI
No inline edits possible
Cons:
The entire grid becomes non-editable
This is the only way to use toggles without inline editing.
Option 2:
Create a Custom PCF Control (Best‑looking option)
You can build or download a PCF “read-only toggle display” that:
Shows a toggle UI
Does not allow user changes
Works inside model-driven views
There are several open‑source PCFs (e.g., “Boolean Toggle Display” controls) shared in community blogs and GitHub.
Looks exactly like a toggle
Read-only
No inline editing
Option 3:
Keep the Yes/No text but make it nicer
If toggles are not important, you can enhance appearance using formatting:
Use column formatting (Yes → ✔, No → ✖)
Or apply theme colors per value
This keeps the grid read-only and still improves clarity.
✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem. 👍 Feel free to Like the post if you found it useful.
Was this reply helpful?YesNo
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.