SharePoint Document Issues

How to Remove Column Names and Counts From Grouped SharePoint Views

Camila MilosovichCamila Milosovich Nov 3, 2026 868 views

Question details

The user wants to customize SharePoint grouped list and library views to hide the default grouping column names and the total item counts.

How to Remove Column Names and Counts From Grouped SharePoint Views
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Organizing and customizing the visual layout of grouped lists and document libraries in SharePoint.
Observed behavior
SharePoint normally displays the grouping column name and the exact item count in brackets, such as 'Category: Bananas (7)', with no out-of-the-box setting to hide them.
Before you start

Modifying default SharePoint list views to hide specific group headers requires basic knowledge of JSON view formatting, as standard list settings do not offer a simple toggle switch for this feature.

Solution 1Recommended

Use JSON View Formatting to Hide Group Details

Apply custom JSON code to your list view to override the default group header display and remove the column name and item count.

Because SharePoint lacks an out-of-the-box setting to disable group names and counts, utilizing the built-in JSON View Formatting feature is the recommended workaround. This allows you to specifically target the 'groupProps' header and render only the data value.

1
Navigate to the list or library

Open the specific SharePoint list or document library where you have applied the grouped view.

2
Open the formatting menu

Click the View Options dropdown menu located in the top-right corner of the list, then select 'Format current view'.

3
Access advanced formatting

In the formatting pane that appears on the right side of your screen, click on 'Advanced mode' at the bottom.

4
Apply the JSON code

Paste a custom JSON configuration that targets the group header to display only the @group.fieldData variable. Click 'Save' to apply the changes to your view.

Use JSON View Formatting to Hide Group Details
JSON Code Example: You can find pre-written JSON snippets for customizing group headers in the official Microsoft PnP (Patterns and Practices) GitHub repository under list formatting.
Free Microsoft Office alternative

Looking for a Lightweight Office Suite? Try WPS Office

While you are managing and customizing your SharePoint lists online, consider WPS Office for handling your daily document creation and editing needs locally. WPS Office is a highly compatible, cost-effective alternative to traditional office suites.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install the suite: Run the setup file and follow the on-screen instructions to install WPS Office on your computer.
  3. 3. Open and edit files: Launch WPS Office and instantly open your existing .docx, .xlsx, or .pptx files without any format conversion.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight installation with blazing fast performanceFamiliar user interface for a completely seamless migrationBuilt-in PDF editing tools for comprehensive document management
microsoft office alternative - wps office

Frequently Asked Questions

Is there a simple settings toggle to hide the item count in SharePoint lists?

No, SharePoint does not currently provide a native out-of-the-box toggle switch in the List Settings to hide the grouping column name or the item count. You must use JSON view formatting to achieve this.

Can I hide the item count but keep the column name visible?

Yes. By customizing the JSON view formatting code, you have granular control over what elements are displayed in the group header. You can configure it to show the column name while omitting the count variable.

Will applying JSON formatting alter the underlying data in my SharePoint list?

No. JSON view formatting only modifies how the data is visually presented within the browser. It does not alter the actual list data, permissions, or structural integrity of your SharePoint environment.