Skip to main content
< All Articles

How to hide rows in a SharePoint list

Posted on January 15, 2018
Lists

Some time ago I published a post on item-level permissions on a list. The functionality allows you to set read or edit permissions to an item in a list based on whether or not the item was created by the individual trying to access it. But what if you want to hide certain rows in a SharePoint list? In other words, have unique permissions for each row in a list and be in total control on who sees which rows? Yes, it is possible, and I would like to explain how this can be done in SharePoint.

The typical scenario requiring such functionality might be a PMO project dashboard, where you might display all the projects in your organization, but would like to hide a few confidential projects (rows) from the list. Another example could be an employee list where HR maintains employee profiles and only gives an ability to manage own profile information to a given user. Or maybe you have a custom list of real estate properties with some metadata, and you want some users to modify just the select few rows (properties) and some users just to be able to view same rows in read-only mode. All of these scenarios can be achieved with instructions below.

One of the ways to limit user access to certain rows in a list is to utilize item-level permissions mentioned above. The issue with this approach is that it does not allow to set unique permissions for a particular row for a particular user. It is either authors or no one having access (all or nothing). In case you want to set unique permissions for a particular row and restrict access to certain users, you will need to follow the technique below.

Now, first, I must say that you can hide rows in ANY SharePoint list, whether it is a modern custom list or classical list like Tasks, Contacts, etc. That said, the mechanics of doing so differs between modern custom lists and other lists, so I will describe both below.

How to hide rows in a SharePoint custom list (modern look and feel)

The way to set hide rows in a SharePoint custom list is similar to the way you would be setting unique access for a document or folder in a document library. Essentially, you would need to break security inheritance between the item (row) and the list. To do this:

  1. Navigate to the SharePoint custom list with data
  2. Click the checkbox next to an item you want to set unique permissions for hide rows in a SharePoint list
  3. Click on “i” Panel on the right-hand-side. At the bottom of the panel, it will show you who currently has access to the item (same users as to the list and site because of inheritance). Click on Change permissions hide rows in a SharePoint list
  4. You can either click on each user/group and then Stop Sharing for each user or just click on Stop sharing on top of the panel (this will immediately stop access to the row for everyone, except for Site Collection Admins). You can also change to View only in case you want a particular user to be able to edit an item
    hide rows in a SharePoint list
  5. If you opt for Stop sharing for everyone above, you will see the following warning message.
    Assignuniqueitempermissionlist4
  6. You can also add specific users and even users who do not have access to the site and give them an ability to edit or view a single item/row from the whole list (without even having access to the site or list)! This is huge! hide rows in a SharePoint list
  7. Once it is all set and done, your list will look different depending on who is logged in. Below is a SharePoint list with all entries visible…
    Assignuniqueitempermissionlist5
  8. … and below is the same list with two rows hidden as I am logged in as another user.
    Assignuniqueitempermissionlist6

How to hide rows in classic SharePoint lists

To hide rows in classic lists (Tasks, Contacts, Calendar, Announcements, Links, etc.), you also need to break the inheritance for rows. However, they way you do this is a bit different since classical lists do not have the “i” information panel on the right side like modern custom lists do. Let me show you an example of how you would be hiding a row in a Task List.

  1. Click on the checkbox next to a task you want to hide or set unique permissions for. Then click on ellipsis, ellipsis again, then Share Assignuniqueitempermissionlist8
  2. Next, click on Shared with. You will see who the task is shared with (should be inherited from your site) Assignuniqueitempermissionlist9
  3. Just like with the custom lists, you can either Stop Sharing to uninvite everyone or click on Advanced to set unique permissions Assignuniqueitempermissionlist10
  4. Once you click on Advanced, it will get you to the screen below. This page is very similar to how you would be setting up security for a site. From there, you can Stop Inheriting Permissions… Assignuniqueitempermissionlist11
  5. …and add/remove groups/users as necessary
    Assignuniqueitempermissionlist12

About Me

I’m Greg Zelfond, a U.S. based SharePoint consultant, and I provide affordable out-of-the-box SharePoint consulting, training, and configuration assistance to small and medium-sized businesses all over the world.

Need help?
Issharepointsecure G4b58adf48 1280

Is SharePoint Secure?

This is definitely one of the most frequent questions users ask when migrating to SharePoint and Microsoft 365. Especially if companies are moving from traditional on-premises file servers, I will…

Read More
Looppermissions 1912299922

How Loop Permissions Work

As with most content within the Microsoft 365 eco-system, the first thing that comes to mind is security and permissions. Whether you organize your documents and other information in SharePoint,…

Read More