XsltListViewWebPart – remove checkboxes

Within SharePoint Designer (SPD), the new SharePoint 2010 way to do a DataViewWebPart (DVWP) is with an XsltListView (XLV) WebPart.

This is a very powerful UI control, in which you can edit columns, and do pagination, sorting, move columns, etc – but – I couldn’t find a way to turn OFF the checkboxes for a list view – which allow for multi-selection in a list.

** Shown here to the left – and the top.


Within the SharePoint UI, this is a setting within the ‘View’ settings – listed under ‘Tabular View’ :


But – within SharePoint Designer, I couldn’t find the equivalent setting anywhere – please let me know if you found it (!)   

Instead, you need to add a tag to the XML for the XLV.

To drop the checkbox’es to the left of each row, add the following to the XML markup within SharePoint Designer :


This needs to be included in the “VIEW” tag – as shown below :

 <View Name="{014283C5-3BA2-45D2-9C74-0B5AA2583CD1}" TabularView="FALSE"  MobileView="TRUE" Type="HTML" Hidden="TRUE" DisplayName="All Documents" Url="/CorpTech/SitePages/dddddd.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/dlicon.png">
       <FieldRef Name="LinkFilenameNoMenu"/>
       <FieldRef Name="Document_x0020_Descriptor"/> …..ETC….

Hope that helps – give it a try…

NB.  Don’t add it to the base XsltListViewWebPart – it won’t work – but won’t error either.   You’ll see a little red squiggly line, mentioning that it’s not valid XHTML for this tag (schema).   Add to the “View” tag instead.


15 thoughts on “XsltListViewWebPart – remove checkboxes

  1. Diogo June 10, 2011 / 4:43 pm



  2. Marco Alvarez November 29, 2011 / 2:12 pm

    Awesome dude, I was wandering how remove that damn checkbox 😛


  3. Suganya July 6, 2012 / 6:54 pm

    Thank you. Worked !


  4. Seth H October 4, 2012 / 1:50 pm

    Oddly enough, that is not working for me. I have had success with this in the past so I believe that it should work. I have the ribbon hidden so I wonder if that is impacting the setting. Also, my ViewGuid is set to “{000-000..etc.} all zeros. If I actually set the guid to match the Name attribute in the View itself, the page errors out. Odd…


    • Seth H October 8, 2012 / 9:39 pm

      Here is how I fixed my issue. First, ViewGuid attribute wa not needed on the XsltListViewWebPart. Also, Name attribute was not needed on the View element within my XmlDefintion. I simply added a new attribute Default=”TRUE” to the XsltListViewWebPart and the TabularView=”FALSE” attribute began to take effect as expected.

      It still feels like I might be abusing something somewhere in here but for now it works.


      • Stephen Davidson February 15, 2013 / 10:51 am

        I have the same issue…but I am adding the webpart programmatically though the elements xml… don’t see a way to add the Default=”TRUE”, is this in the schema.xml for the list?


  5. Web Guy November 26, 2012 / 9:13 pm

    Just terrific, thank so much. I stumbled upon your site on a Bing search.
    Keep up the good fight 🙂


  6. Omegacron November 22, 2013 / 9:21 pm

    Quick comment regarding your first sentence – the DVWP and XLV functionality is actually still separate in 2010. If you click on the DVWP button in the ribbon, then choose a list or library, you’re adding a list view (XLV). If instead you choose “Empty Data View” and then choose the datasource from within the design window, you get the DVWP code instead. The actual XLST markup involved is different.

    Don’t ask me why they chose to do it that way but it confuses a lot of people.


  7. Jay Brooks June 5, 2014 / 3:20 pm

    Just what I needed. Thanks for posting the solution.


  8. Rachel Xu August 6, 2014 / 11:59 pm

    I actually want to do the opposite, adding the tabular view to the list view web part. The checkbox disappeared after the site has been upgraded from 2010 to 2013. I tried the TabularView = “TRUE” but it didn’t work, any thoughts? Thanks!


  9. Sandhya December 11, 2014 / 6:41 am

    Itried, Default=”TRUE” and TabularView=”FALSE”, In SPD, Design View it shows fine. But, on page, the checkboxes are still shown! Any thoughts?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s