Forum Discussion
Arielle Gerstein
May 03, 2019Copper Contributor
Freeze columns in SharePoint List
Good Afternoon, I would like to freeze the first (and maybe second) column of a large list I have so when users scroll, they can still see the first column, like in Excel. I’m trying to see if ...
Shrutika_S
Jan 03, 2020Copper Contributor
Arielle Gerstein i'm also trying to freeze 1st column in list and headers but didn't found any solution so far. Have you found anything to resolve this?
Deleted
Jan 03, 2020Shrutika_S Try "Sticky Headers" from Spoodoo.com. I've added it to the Masterpage so it shows up everywhere. http://spoodoo.com/downloads.
- Shrutika_SJan 07, 2020Copper Contributor
Deleted will this JS code work for modern SharePoint page as script webpart is not available in it?
- DeletedJan 07, 2020
Shrutika_S I have not tried this in O365 or Modern Pages as I am currently still on-prem with SharePoint 2016. What I have done was to incorporate it into the Masterpage just before the ending </head> tag. <SharePoint:ScriptLink language="javascript" ID="ScriptLink3" Name="/_layouts/15/CustomScripts/stickyHeaders_3.2.0.js" runat="server" />
I know Microsoft does not want you to alter the Masterpage, so maybe incorporate it via SPFx if you are familiar with it (I'm just learning it now). You could also put the .js file in Site Assets and reference it using the Script Editor Web Part or Content Editor Web Part, but then you would have to do this on every page you need the feature.