Remove Checkbox from SharePoint Listview Web Part
Requirement:
Remove the checkbox from SharePoint 2016 listview header! We had to remove the checkbox from the listview for a SharePoint links list.
Solution:
To remove the checkbox in the SharePoint list header, follow these steps:
- Click on the “Modify View” button from the List tab of the ribbon menu.
- Scroll down and uncheck the “Allow individual item checkboxes” tick mark under Tabular View!
- Click on “OK” button to save your changes. This removes the checkbox in list view.
Remove checkbox in SharePoint xsltlistviewwebpart:
For Dataview/XSLTListViewwebpart, Open the view page in SharePoint Designer, edit the list view page, Set TabularView=”False” under the “View” tag to remove the checkbox!
Remove the checkbox from the SharePoint list using PowerShell:
Use this PowerShell script to remove the checkbox from the listview web part.
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
#Configuration Parameters
$WebURL="https://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