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 documents 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 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 “Advanced settings” link under list settings page.
- In Advanced Settings link, scroll down and Under “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 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?