How to Disable Quick Edit in SharePoint Online?
Requirement: Disable Quick Edit in SharePoint Online.
Quick edit is a great feature in SharePoint Online that allows users to make changes to list items and document metadata quickly. While this is a convenient feature, there may be times when you need to disable Quick Edit for some reason. In this post, I will walk you through how to turn off Quick Edit for users in SharePoint Online. Let’s get started!
We have a project tracking list with the field “Project Health”, which is updated by an event receiver based on specific parameters and business logic. So, we made the field hidden in SharePoint Online using: SharePoint Online: How to Hide a Column from List Forms? However, users can go to the “Quick Edit” mode of the list and get the hidden field there! Although the column was hidden from New and Edit Forms, SharePoint Online quick edit still displays the hidden field, and we wanted to disable quick edit for the SharePoint Online list.
How to disable “Edit in Grid View” (Quick Edit) in SharePoint Online?
To disable quick edit in SharePoint Online, follow the below steps:
- Navigate to the List >> Click on Settings >> List settings
- Click on the “Advanced settings” link under the list settings page.
- In the Advanced Settings link, scroll down and under the “Quick property editing” option, choose “No” for “Allow items in this list to be edited using Quick Edit?” and then click OK.
This disables quick edit in the SharePoint Online list, even in classic mode.
PowerShell to Disable Quick Edit in SharePoint Online
Use this PowerShell script to disable the quick edit mode SharePoint Online list:
#Parameters $SiteURL = "https://Crescent.sharepoint.com/sites/Marketing" $ListName = "Projects" #Connect to the site Connect-PnPOnline $SiteURL -Interactive #Get the List $List = Get-pnpList -Identity $ListName #Disable Quick Edit in SharePoint Online List $List.DisableGridEditing = $True $List.Update() Invoke-PnPQuery
To hide quick edit in SharePoint On-premises, use: How to Disable Quick Edit in SharePoint?