How do I remove the grouping headings in my list view web part?

I don't have access to SharePoint Designer and so far, that is all I can find that people are saying to use.  I understand and know how to edit the HTML in SharePoint, just don't know what code to put in and where exactly to put it so that the Document
Library List View web part is grouped how I want, but doesn't actually show the group titles.  Any help would be greatly appreciated.  Thank you!

Hi,
I understand that you want to hide list view group headers, based on your description, I can suggest as follow:
Add this code to a Content Editor Web Part (CEWP) in the list view. Adding a CEWP in a SharePoint 2010 list view will unfortunately remove the list view selector.
<script type="text/javascript" language="javascript">
_spBodyOnLoadFunctionNames.push("HideHeaders");
function HideHeaders()
var elements = getElementsByClassName(document, "td", "ms-gb");
var elem;
for(var i=0;i<elements.length;i++)
elem = elements[i];
elem.childNodes[3].style.display = "none";
elem.removeChild(elem.childNodes[4]);
elements = getElementsByClassName(document, "td", "ms-gb2");
for(var i=0;i<elements.length;i++)
elem = elements[i];
elem.childNodes[3].style.display = "none";
elem.removeChild(elem.childNodes[4]);
elements = getElementsByClassName(document, "tr", "ms-viewheadertr");
for(var i=0;i<elements.length;i++)
elem = elements[i];
elem.style.display = "none";
Written by Jonathan Snook, http://www.snook.ca/jonathan
Add-ons by Robert Nyman, http://www.robertnyman.com
function getElementsByClassName(oElm, strTagName, strClassName){
var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for(var i=0; i<arrElements.length; i++){
oElement = arrElements[i];
if(oRegExp.test(oElement.className)){
arrReturnElements.push(oElement);
return (arrReturnElements)
</script>
More information:
http://edinkapic.blogspot.in/2008/06/hiding-list-view-group-headers.html
http://spjsblog.com/2011/08/30/remove-group-label-in-grouped-list-view/
If you have any questions, please reply me.
Thanks,
Qiao Wei
TechNet Community Support

Similar Messages

  • XSLT List View Web Part Error when Using Group By

    I have a Tasks List created a tasks list in SharePoint.  The Tasks (normal OOTB template) list works fine in the normal view, however, I have created an XSLT ListView Web Part that points to this tasks list.  When I set the web part to display
    a view with a "Group By" rule, it returns an error:
    "Attempted to use an object that has ceased to exist. (Exception from HRESULT:
    0x80030102 (STG_E_REVERTED))
    The list has just over 1000 items and the threshold is set to 5000, I have tried indexing the column that I am "grouping by" just in case and that has not worked.  
    Has anyone experienced this issue before?  If so, what steps can be done to display the XSLT List View Web Part properly?

    Thank you for the response.  I tried the above link and it didn't seem to solve the issue; in fact, when I clicked on Common Control Tasks there wasn't any Data View Tasks such Filter and Sort & Group.  
    Perhaps some more information would shed light on a solution. I created a list template including content of the task list in question. I  was able to display the new list in an XSLT List View Web part with grouping enabled.  However, I noticed that
    the "Related Content" column was completely empty (it was there, it just had no data in each row).  What is the source of this Related Content? I know it is a system column that appears when Workflows generate the item in the list but could it be the
    reason for the Web part being unable to display with groupings?

  • Adding "Filter Criteria" to the XSLT List View Web Part impact on "Export to Excel" functionality within Document Library

    Hi there,
    XSLT List View displaying all the list items within the Document Library. In order to implement the Search functionality within Document library out of box "Text Filter" web part is configured as explained below. The solution is similar to
    the one suggested at
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77
    "Text Filter" Web Part added to the page.
    Filter Criteria (i.e., XSLT List View columns) added to the XSLT List View where the filter parameters take the input from the "Text Filter" Web Part .
      3. Both Web Parts (XSLT List View and the Text Filter) are connected.
    When the search criteria is entered into the "Text Filter" Web Part, it is passed to the relevant Columns of the XSLT List View and the documents (List Items) that match the search criteria are shown within XSLT List View.
    Search functionality working as expected.
    Query: Selecting the "Export to Excel" icon from the ribbon generates the excel spread sheet with no data except Column Titles from the Document library. In the investigation it is
    found that adding the 'Filter Criteria' on XSLT List View is causing this bug. When the Filter Criteria is removed, then "Export to Excel" functionality is working as expected.
    But it is mandatory to add "Filter Criteria" to implement the search functionality with in the document library.
    Help: Help/input appreciated on the work around to get the "Export to Excel" functionality work when the "Filter Criteria"
    exist on the XSLT List View.
    Regards,

    Once again thanks very much for your help Scott. very much appreciated.
    In the investigation it is found that removing the 'Filter Criteria' on XSLT List View makes the "Export to Excel" functionality work. But the 'Filter Criteria' is mandatory to get the 'Document Search' functionality.
    I think that due to technical limitations it should be concluded that 'only custom development can make all work, no code solutions using the SharePoint Designer can meet all the requirements.
    If you can think of any alternative solution that could help in resolving the current issue or fix the issue without any custom implementation please inform. Otherwise this issue would be marked as resolved with your suggested response.
    Regards,

  • How to Hide some Rows in a List view Web Part using JavaScript ?

    How to Hide some Rows in a List view Web Part using JavaScript ?

     Here is the code that worked for me:
    var Elements = document.querySelectorAll('div[id=WebPartWPQ3] table[class=ms-listviewtable]>tbody tr .ms-vb-lastCell.ms-cellstyle.ms-vb2')
    for(var i=0, n = Elements.length; i < n; i++)
     if(Elements[i].innerHTML=="India")
    Elements[i].parentNode.setAttribute("style","display:none")
    WebPartWPQ3 -> ID of webpart Div
    ms-listviewtable -> class name of table in Div
    ms-vb-lastCell.ms-cellstyle.ms-vb2 -> classname of td to get text

  • "Oslo.Master" set as the The default Master Page, but when record selected in "List View Web Part" page shifts to the right.

    Hi All,
    I have set "Oslo.Master" as the The default Master Page for the site.   I have a page with a List View web part and an InfoPath Web Part connected.  When the page loads is it displayed correctly.  However, when a record
    is selected and the infopath web part is updated, the content on the page shifts (indents) to the right.
    Is there something I am missing?   Does anyone know how to correct this?
    Thanks in Advance!

    Hi Dwayne,
    I could reproduce this, as a workaround, we can use javascript code as below to hide the element in the following image.
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script>
    $(document).ready(function(){
    $('#contentBox').prev().hide();
    </script>
    Thanks
    Daniel Yang
    TechNet Community Support

  • Using "View Selector" in the List View Web Part, changes the web part page to the view selected's page.

    Hi,
    I am relatively new to Web Parts pages.  I created a page with list view web part and a Infopath Form Web Part, which are connect via the "Get Form From" option.  My users would like to be able to use views dependent on what
    they are looking for.  So I created different views.  However, when I select the view from within the Web Part, it changes the web part page to the list view page.  I must be doing something wrong.  How do I configure the list view to show
    the selected view and results within the existing "list view web part"?
    Thanks,
    Dwayne

    Hi
    Lindali,
    Sorry, but this has not been answered to my liking.  The "List View Web Part" has the ability for the user to select the view from within the web part, so there you should be able to select a different view and have it appear within the same web part. 
    Does anyone know how to complete this task?
    Thanks,
    Dwayen

  • How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM.

    How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM. I found that it can be
    done by using XsltListViewWebPart class but how can I use this one by using shraepoint client api.
    shiv

    Nice, can you point me to the solution please ?
    I'm  trying to do this but I get an error : 
    Web Part Error: Cannot complete this action. Please try again. Correlation ID: blablabla
    StackTrace:    at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews)     at Microsoft.SharePoint.SPList.GetView(Guid viewGuid)   
    All help really appreciated.

  • Items to display in list view web part not showing the items setup

    Hi, I have the following issue. I have a list view web part, but the web part is showing more items that the ones setup in the: Number of items to display in list view web part for this view.
    It is because that works when using datasheet view and not a normal view? Is there any technical documentation from Microsoft supporting this?

    thank you for your answer. It is interesting that the mobile view with the items to show in the mobile view doesn't work in the webpart, but it works when you are using datasheet view, but if you uncheck to activate the mobile view, then, the webpart doesn't
    show information, so, it works partially because one part works and not the other.

  • XSLT List View Web part with Inline Editing changing value for one field changes the other lookup field

    Hi
    It's a bit of a weird one. In an XSLT List View web part when Inline editing is enabled if I change the date column, it changes the lookup field column as well. This behavior only occurs if the lookup list has more than 20 entries. Below 20 and we are
    OK.
    Let me explain by example:
    MileStones List - Having more than 20 items
    Tasks List - having a lookup to the Title field from MileStones list. Also having a due date field.
    Simple web part page with one XSLT List View web part for Tasks having inline editing enabled.
    When I edit the first record's due date and press enter (which saves the changes and moves onto next record) and change the due date on second record without even touching the MileStone field. Press enter to commit changes and you see the milestone changing
    on first record!
    The wierd thing is that if the MileStone list has less than 20 items all works as expected.
    Any pointers will be appreciated
    Thanks

    Hi,
    This is a known limitation when working with complex fields like Lookup field.
    A workaround is that we can avoid using the inline edit feature when there are
    complex fields in a list.
    You can take a look at this KB from Microsoft Support to get more details:
    http://support.microsoft.com/kb/2600186/en-us
    A similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/3d369611-ee79-4b5c-86bb-c0f3878cd746/standard-list-view-with-inline-editing-lookup-column-copies-preceding-or-following-items-related?forum=sharepointgeneralprevious
    Thanks
    Patrick Liang
    TechNet Community Support

  • How to List view web part to display document library for only users with access permission

    Hi
    I am trying to accomplish this requirement but I don't know if that is possible or how to get there.  Any suggestion or advice are helpful.
    On a site collection, I have several document libraries,  with each library have unique permission to a few user or SharePoint group.
    I want to create a web part page and make that the site home page.  On this web part page, I want to create a Content Search Web Part to list the content of the document library that the logged on users have permission to see. 
    Is this possible with CSWP or is there anything easier or if it is not possible at all,  please advise.
    Thanks
    Swanl

    Hi ,
    Based on your description, my understanding is that you want to create a Content Search Web Part to list the documents that the logged on users have access permission.
    It is feasible with CSWP, you can follow the below step:
    Edit Content Search Web Part->Change query-> Select a query: Items matching a content type (System); Restrict by app: Current site collection; Restrict by content type: Document.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]

  • Modify the data source of a data view web part

    I have a dataView web part deployed in a template in multiple site collection. This dataView hasn't any query set up, so it loads a lot of items and this is slowing down my system.
    Now I want to programmatically put a query overriding the existent (empty) one and I'm doing like this:
    System.Web.UI.WebControls.WebParts.WebPart y = (System.Web.UI.WebControls.WebParts.WebPart)item;
    Microsoft.SharePoint.WebPartPages.DataFormWebPart z = (Microsoft.SharePoint.WebPartPages.DataFormWebPart)item;
    StringBuilder dataSourceString = new StringBuilder("<%@ Register TagPrefix=\"sharepoint\" Namespace=\"Microsoft.SharePoint.WebControls\" Assembly=\"Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<%@ Register TagPrefix=\"WebPartPages\" Namespace=\"Microsoft.SharePoint.WebPartPages\" Assembly=\"Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<sharepoint:SoapDataSource runat=\"server\" SelectUrl=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx\" InsertUrl=\"\" UpdateUrl=\"\" DeleteUrl=\"\" SelectAction=\"http://schemas.microsoft.com/sharepoint/soap/GetListItems\" InsertAction=\"\" UpdateAction=\"\" DeleteAction=\"\" SelectPort=\"ListsSoap\" InsertPort=\"\" UpdatePort=\"\" DeletePort=\"\" SelectServiceName=\"Lists\" InsertServiceName=\"\" UpdateServiceName=\"\" DeleteServiceName=\"\" AuthType=\"Basic\" AuthUserName=\"contoso\\administrator\" AuthPassword=\"pass@word1\" WsdlPath=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx?WSDL\" XPath=\"\" ID=\"SoapDataSource3\">");
    dataSourceString.Append("<SelectCommand><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"><listName>Jobs</listName>");
    dataSourceString.Append("<Query><Where><Eq><FieldRef Name=\"Title\" /><Value Type=\"Text\">2012_080_A_0</Value></Eq></Where></Query>");
    dataSourceString.Append("<rowLimit>9999</rowLimit></GetListItems></soap:Body></soap:Envelope></SelectCommand><InsertCommand></InsertCommand><UpdateCommand></UpdateCommand><DeleteCommand></DeleteCommand></sharepoint:SoapDataSource>");
    z.DataSourcesString = dataSourceString.ToString();
    manager.SaveChanges(z);
    In my code, I can see the DataSourceString changing, but if I refresh the page it is still loading all the data: why?!

    Hi,
    According to your description, my understanding is that you want to change the data view web part datasource programmatically.
    We need to override the databind method like below:
    public class ExtendedDataFormWebPart : DataFormWebPart
    public override void DataBind()
    this.DataSource = your own data source;
    base.DataBind();
    Here is a detailed code demo for your reference:
    http://jamestsai.net/Blog/post/How-to-query-cross-site-lists-in-DataFormWebPart-Part-1-Build-your-own-data-source-for-DataFormWebPart.aspx
    Best Regards
    Jerry Guo
    TechNet Community Support

  • How to add a list views web part to a page?

    Hello,
    I have web parts on a page that are "List Views".  The show links as menu from a custom list of links on a page.  However, I don't know how the developer added them to page and how they work.  I like to add other list views
    that list links from lists.
    Paul

    Hi,
    Your query is to configure a webpart in a page which will display all the links to lists (within the site)? If this is the requirement you can configure a dataformwebpart and configure the Data
    Source Mode as CrossList.
    Let me know if you have any further questions.
    Thanks!

  • How do I remove the bullet format from a list in Mail?

    In Mail, I have a paragraph which 'is' a bulleted list item. I want to remove the bullet and make it a normal paragraph. I don't want to copy and paste it unformatted because then I lose the formatting and links. This incredibly simple thing should be trivial, but I've not been able to find an answer yet...
    The question is: how to remove the numbered or bulleted list formatting from an existing paragraph?
    Thanks in advance,
    A.

    Start with this...
    abc
    def
    this should not be bulleted
    Do this...
    go to the end of the 'def' line
    type a few returns to turn the bullets off
    type some text
    Get this...
    abc
    def
    ghi
    this should not be bulleted
    Finish by doing this...
    put your cursor at the beginning of the last line (inbetween the bullet and "this should...")
    delete backwards
    Voila!
    abc
    def
    this should not be bulleted
    Ben

  • Allow group to view a list view web part but not the original list?

    I have a list that contains a lot of details about current active projects our team is working on. I created a public list view that presents this list in a concise format for external viewers to see and have it on a separate page in a web part; however,
    we need to keep the original list (and all the extra data private).
    How can I keep the original list restricted, but allow permissions to the data that is in that public list view?
    I have already set up the page permissions and they are able to see the page, but the list has no data and displays a message that says "There are no items to show in this view of the "Projects" list.".

    There's no way to do this that I'm aware of without some kind of custom programming.  You could easily create a custom web part that runs with elevated permissions to get the data and display it in a read only fashion.  But to display data in
    any kind of out of the box web part users need permissions to see the data.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Edit the Posts list view web part in a Blog site

    Hi,
    We found the great post vow to add a custom property (for example sub title) to blog posts view using jslink.
    http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/04/09/how-to-add-a-custom-field-to-blog-posts-in-sharepoint-2013.aspx
    It works in the Home page of the blog, but we want the property to be displayed in any post view.
    In order to display a column it has to be checked to be displayed at the view settings in the web part, but in the page posts.aspx there is no option to "Edit the current View".
    Any ideas?
    thanks a lot
    keren tsur

    Hi,
    Appreciate your update and response. I am glad to hear that the problem has been fixed.
    Have a nice day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • PROBLEM WITH RFC DESTINATION

    Hi GURU, I have a problem with the record of RFC destination. When i created RFC destination TCP/IP when i made the tests, it`s ok. But when i used this rfc destination in a  function of ABAP. I have an error. The error is: RfcExecProgram'#Win32 erro

  • How to use .joboptions (Printer settings) to make PDF

    Hi, Currently we using .joboptions settings file to change the Printer setting of PDF & make another PDF with that settings. Following is the non-programmatical process to use .joboptions Control Panel\Hardware and Sound\Devices and Printers -> Adobe

  • PDF preview handler

    Can someone please help.  Since updating to Adobe X1 on a windows 8 system, some emails with an attached PDF file will not open.  Keeps coming up with the error 'PDF preview handler' Thank you

  • Is there any  George Martin's "A song of ice and fire" series in canadian ibook store??

    i ve searching this 4 a long time, but it seems that there r no "a song of ice and fire" series in canadian ibook store, unfortunately only in U.S. one. when is it going to be published in canadian ones?

  • Purchased songs will not sync with ipod classic

    `     Just purchased iTunes songs and can not get them to sync with my ipod classic. Have never had problems in past