July 20, 2024

SamTech 365

PowerPlatform, Power Apps, Power Automate, PVA, SharePoint, C#, .Net, SQL, Azure News, Tips ….etc

SharePoint list, Sticky Header

In some large (columns) and long lists views, it would be ideal to have sticky headers which are always displayed in the top regardless of the users scrolling.

The solution:

In order to have this, simply make a reference to the stickyheader.js file (Download):

1- From the list view, switch to edit mode

2- Add a content editor web part

3- Make reference to the stickyheader.js (ideally from your environment, if you can’t, you can reference it from a CDN).