SharePoint 2013 : Hide Column Name from Grouped View Header

Posted: April 20, 2015 in SharePoint

In case you are looking to hide Column name and semicolon in Grouped view example

+ Name : Ankur (1)

You want to hide (1) to show only –

+ Ankur (1)

Use below script in CEWP, remember to refer jquery library.

$(“ td[class=’ms-gb’]”).each(function() {

elem = $(this)[0];

var linkNode = elem.childNodes[0];


var textNode = elem.childNodes[1];

textNode.nodeValue = textNode.nodeValue.split(‘:’)[1];




Leave a Reply

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

You are commenting using your 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