Remove Checkbox from SharePoint Listview Web Part
Requirement:
Remove checkbox from SharePoint 2016 listview header! For a SharePoint links list, we had to remove checkbox from listview.
Solution:
To remove checkbox in SharePoint list header, follow these steps:
For Dataview/XSLTListViewwebpart, Open the view page in SharePoint Designer, Edit the list view page, Set TabularView="False" under "View" tag to remove checkbox!
Remove checkbox from SharePoint list using PowerShell:
Use this PowerShell script to remove checkbox from listview web part.
Remove checkbox from SharePoint 2016 listview header! For a SharePoint links list, we had to remove checkbox from listview.
Solution:
To remove checkbox in SharePoint list header, follow these steps:
- Click on "Modify View" button from the List Tab of the ribbon menu.
- Scroll down and uncheck "Allow individual item checkboxes" tick mark under Tabular View!
- Click on "OK" button to save your changes. This removes the checkbox in list view.
For Dataview/XSLTListViewwebpart, Open the view page in SharePoint Designer, Edit the list view page, Set TabularView="False" under "View" tag to remove checkbox!
Remove checkbox from SharePoint list using PowerShell:
Use this PowerShell script to remove checkbox from listview web part.
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Configuration Parameters $WebURL="http://intranet.crescent.com/" $ListName="Quick Links" $ViewName="All Links" #Get web, List and View objects $Web = Get-SPWeb $WebURL $List = $Web.Lists[$ListName] $View = $List.Views[$ViewName] #sharepoint view remove checkbox $View.TabularView = $False $View.Update() Write-host "Checkboxes Removed from SharePoint View!"and here is the result:
Thanks for this, is what I was looking for
ReplyDelete