kwizcom banner advertisement

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:
  • 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!
    sharepoint 2013 remove checkbox from listview
  • 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 "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:
sharepoint 2013 remove checkbox listview
Remove Checkbox from SharePoint Listview Web Part Remove Checkbox from SharePoint Listview Web Part Reviewed by Salaudeen Rajack on 6:47 PM Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.