SharePoint 2013 : Hide Counts from Grouped View Header

Posted: April 20, 2015 in SharePoint

In case you are looking to hide count in Grouped view example

+ Name : Ankur (1)

You want to hide (1) to show only –

+ Name : Ankur

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

$("table.ms-listviewtable td[class=’ms-gb’]").each(function() {

//Hide all Counts for Groups

$(this).find("span:last").remove();

});

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s