A customer asked if SharePoint has an option to fix/freeze the header with the columns names when you have a really large list. I didn’t know the answer so I told them that I will try and solve the problem for them. The problem is a pretty common one, the SharePoint list can always be opened in Excel and there you can easily fix the header. But what about the SharePoint view for this list.
I came across this solution called STICKIHEADERS for SharePoint. You can find it here: http://spoodoo.com/products/stickyheaders-for-sharepoint/
So how can we implement it? If you want it only for a single list, you can follow my instructions here. You will first need to download this files:
- the stickiheader JQuery solution: you can find it here
- the jquery.min.js soluton: you can find it here
You can upload both files to your Site Assets library on your SharePoint Page. Open your site, go to Site Contents and than go to Site Assets. Click on the Files tab and choose Upload Document. Choose both documents and wait for them to upload to your SharePoint library.
After you finish with the upload, you can browse to your list. Click Edit Page and click on Add web part. Choose Media and Content and from the web parts choose Script Editor.
The Script Editor will be added to your site and you can click Edit Snippet on the right.
Paste the following text inside the Edit Snippet windows:
Click Insert and after that click on Stop Editing your page.
After you click it you can try and scroll your list and see that the header is now flowing just as you browse.
The script worked for us in SharePoint Online in this format:
Any luck getting this to work on Sharepoint 365 with modern view lists?