Tuesday, March 15, 2016

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



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!


You might also like:

Related Posts Plugin for WordPress, Blogger...