Search code examples
jsongridviewsharepoint-onlineeditdisable

Sharepoint Online JSON List Formatting: disable column in edit mode


In a SPO Modern List, in "Edit in Grid View" Mode, I need to disable one column from being edited using JSON.

Are you able to help me craft the JSON or point me to the specific element to modify?

Thank you!

Charlie


Solution

  • No, SharePoint does not provide column-level security. But it is still possible to achieve your goal with a little creativity.

    Here is a simple workaround to achieve it using Power Apps:

    set the control type as view text: enter image description here

    As a result, when we edit the item, "text2" will be read-only: enter image description here