locked
List View - Remove Group By Headers - Column Names RRS feed

  • Question

  • I have a List View web part using Group By. However, when you do that, it uses the Actual column name with a colon in the visual representation.

    Also, there is a bar with the name of the column showing.

    I don't want to have either of these showing. I have found pages on the net that tell you how to do this using SPD, but because that causes unghosting, we don't use SPD.

    Also, I found this, using Javascript:
    http://amitphule.blogspot.com/2011/10/hiding-group-headers-from-sharepoint.html

    This works. However, it removes the Editing components of the ribbon also - you can't go back later and do any editing.

    Does anyone have any other ideas on this?


    • Edited by Elmo Watson Wednesday, March 26, 2014 3:40 PM
    Wednesday, March 26, 2014 2:56 PM

Answers

All replies

  • Hi,

    According to your post, my understanding is that you wanted to remove Group By Headers in the List View web part.

    I try to reproduce the issue using the code you provided, however, I can edit the items.

    The initial status:

    The final status:

    Best Regards,

    Linda Li


    Linda Li
    TechNet Community Support

    Thursday, March 27, 2014 7:48 AM
  • I found a script here:

    http://spjsblog.com/2011/08/30/remove-group-label-in-grouped-list-view/

    however, if you use it, beware that there are several places where the quotes are not standard (like 'smart' quotes in MSWord) and need to be fixed before it will work


    • Edited by Elmo Watson Thursday, March 27, 2014 12:58 PM
    • Marked as answer by Elmo Watson Thursday, March 27, 2014 12:59 PM
    Thursday, March 27, 2014 12:57 PM