Home

Freeze columns in SharePoint List

%3CLINGO-SUB%20id%3D%22lingo-sub-528798%22%20slang%3D%22en-US%22%3EFreeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-528798%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20Afternoon%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20freeze%20the%20first%20%26nbsp%3B(and%20maybe%20second)%20column%20of%20a%20large%20list%20I%20have%20so%20when%20users%20scroll%2C%20they%20can%20still%20see%20the%20first%20column%2C%20like%20in%20Excel.%20I%E2%80%99m%20trying%20to%20see%20if%20anyone%20is%20familiar%20with%20how%20to%20do%20this%20or%20has%20script%20to%20accomplish%20this%20task.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EArielle%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-528798%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20List%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-529214%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-529214%22%20slang%3D%22en-US%22%3EYou%20cannot%20freeze%20the%20first%20header%20of%20a%20large%20list%2C%20but%20sticky%20headers%20are%20coming%20to%20SPO%20lists%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-529324%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-529324%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F112166%22%20target%3D%22_blank%22%3E%40Arielle%20Gerstein%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20Sticky%20Headers.%26nbsp%3B%20I%20added%20the%20javascript%20into%20my%20Masterpage.%20%3CA%20href%3D%22http%3A%2F%2Fspoodoo.com%2Fstickyheaders-for-sharepoint-update-v3-2-0%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fspoodoo.com%2Fstickyheaders-for-sharepoint-update-v3-2-0%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-529433%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-529433%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F16474%22%20target%3D%22_blank%22%3E%40Paul%20D.%20Fox%3C%2FA%3E%26nbsp%3BThanks!%20I%20currently%20have%20sticky%20headers%20for%20the%20top%20row%20but%20not%20the%20first%20column.%20Is%20the%20file%20available%20for%20download%20here%3F%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fspoodoo.com%2Fproducts%2Fstickyheaders-for-sharepoint%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fspoodoo.com%2Fproducts%2Fstickyheaders-for-sharepoint%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENothing%20is%20showing%20up%20when%20I%20click%20on%20this%20page.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-530706%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-530706%22%20slang%3D%22en-US%22%3EBy%20the%20way%2C%20If%20your%20list%20is%20a%20modern%20list%20you%20are%20not%20going%20to%20be%20able%20to%20use%20it%20because%20it's%20not%20recommended%20%2F%20supported%20to%20modify%20SPO%20sites%20master%20pages%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-534577%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-534577%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3BThanks!%20The%20list%20is%20isn't%20modern%20-%20we%20are%20using%20sticky%20headers%20for%20rows%20already%20but%20haven't%20had%20luck%20deploying%20them%20for%20columns%20so%20far.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-535529%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-535529%22%20slang%3D%22en-US%22%3EI'm%20going%20to%20answer%20your%20problem%20-%20which%20is%20that%20you%20have%20a%20wide%20and%2For%20long%20list%20and%20users%20need%20to%20scroll%20L-R%20as%20well%20as%20up%2Fdown.%20The%20answer%20(again)%20is%20to%20use%20the%20modern%20UI%20because%20it%20will%20allow%20you%20to%20significantly%20limit%20the%20number%20of%20fields%20you%20have%20displayed%20in%20the%20view.%3CBR%20%2F%3E%3CBR%20%2F%3EBecause%20the%20modern%20UI%20let's%20you%20easily%20display%20ALL%20fields%20for%20an%20item%20in%20the%20details%20pane%20and%20bulk%20update%20multiple%20items%20at%20once%2C%20you%20no%20longer%20need%20to%20display%20every%20column%20in%20the%20list%20like%20you%20did%20in%20classic%20mode.%20I%20trim%20my%20default%20views%20down%20to%20only%20the%20fields%20needed%20to%20sort%20%26amp%3B%20filter%20the%20list.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FView-and-edit-information-about-a-file-folder-or-link-in-a-document-library-1ffa10e8-3169-4f79-8b2e-6ed2e1246f6f%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FView-and-edit-information-about-a-file-folder-or-link-in-a-document-library-1ffa10e8-3169-4f79-8b2e-6ed2e1246f6f%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAs%20for%20the%20large%20number%20of%20items%20in%20your%20list%2C%20you%20should%20introduce%20your%20users%20to%20the%20smart%20filter%20button.%20You%20can%20pin%20fields%20to%20the%20filter%20button.%20Hit%20the%20button%2C%20select%20your%20filter%20terms%20and%20apply.%20Tah%20dah!%20much%20shorter%20list!%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fwhat-is-the-list-and-library-filters-pane-293561ed-fb2e-4fb2-9a9f-8a21e299e323%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fwhat-is-the-list-and-library-filters-pane-293561ed-fb2e-4fb2-9a9f-8a21e299e323%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1086838%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1086838%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F112166%22%20target%3D%22_blank%22%3E%40Arielle%20Gerstein%3C%2FA%3E%26nbsp%3Bi'm%20also%20trying%20to%20freeze%201st%20column%20in%20list%20and%20headers%20but%20didn't%20found%20any%20solution%20so%20far.%20Have%20you%20found%20anything%20to%20resolve%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1087058%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1087058%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F504940%22%20target%3D%22_blank%22%3E%40Shrutika_S%3C%2FA%3E%26nbsp%3B%20Try%20%22Sticky%20Headers%22%20from%20Spoodoo.com.%26nbsp%3B%20I've%20added%20it%20to%20the%20Masterpage%20so%20it%20shows%20up%20everywhere.%20%3CA%20href%3D%22http%3A%2F%2Fspoodoo.com%2Fdownloads%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fspoodoo.com%2Fdownloads%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1087196%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1087196%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F504940%22%20target%3D%22_blank%22%3E%40Shrutika_S%3C%2FA%3E%26nbsp%3BI've%20used%20sticky%20headers%20to%20freeze%20the%20first%20row%20in%20a%20list%2C%20couldn't%20make%20it%20work%20for%20the%20first%20column.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1094221%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1094221%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F16474%22%20target%3D%22_blank%22%3E%40Paul%20D.%20Fox%3C%2FA%3E%26nbsp%3Bwill%20this%20JS%20code%20work%20for%20modern%20SharePoint%20page%20as%20script%20webpart%20is%20not%20available%20in%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1094227%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1094227%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22lia-spoiler-container%22%3E%3CA%20class%3D%22lia-spoiler-link%22%20href%3D%22%23%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ESpoiler%3C%2FA%3E%3CNOSCRIPT%3E(Highlight%20to%20read)%3C%2FNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-border%22%3E%3CDIV%20class%3D%22lia-spoiler-content%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F112166%22%20target%3D%22_blank%22%3E%40Arielle%20Gerstein%3C%2FA%3E%26nbsp%3Bcan%20you%20please%20help%20me%20with%20code%20for%20sticky%20headers%3F%20I'm%20looking%20for%20the%20same%20to%20use%20on%20SharePoint%20o365%3C%2FDIV%3E%3CNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-noscript-container%22%3E%3CDIV%20class%3D%22lia-spoiler-noscript-content%22%3E%26nbsp%3Bcan%20you%20please%20help%20me%20with%20code%20for%20sticky%20headers%3F%20I'm%20looking%20for%20the%20same%20to%20use%20on%20SharePoint%20o365%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FNOSCRIPT%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1094234%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1094234%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F112166%22%20target%3D%22_blank%22%3E%40Arielle%20Gerstein%3C%2FA%3E%20can%20you%20please%20help%20me%20with%20code%20for%20sticky%20headers%3F%20I'm%20looking%20for%20the%20same%20to%20use%20on%20SharePoint%20o365%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1094417%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1094417%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F504940%22%20target%3D%22_blank%22%3E%40Shrutika_S%3C%2FA%3E%26nbsp%3B%20I%20have%20not%20tried%20this%20in%20O365%20or%20Modern%20Pages%20as%20I%20am%20currently%20still%20on-prem%20with%20SharePoint%202016.%20What%20I%20have%20done%20was%20to%20incorporate%20it%20into%20the%20Masterpage%20just%20before%20the%20ending%20%20tag.%20%3CSTRONG%3E%3CSCRIPTLINK%20language%3D%22%26quot%3Bjavascript%26quot%3B%22%20id%3D%22%26quot%3BScriptLink3%26quot%3B%22%20name%3D%22%26quot%3B%2F_layouts%2F15%2FCustomScripts%2FstickyHeaders_3.2.0.js%26quot%3B%22%20runat%3D%22%26quot%3Bserver%26quot%3B%22%3E%3C%2FSCRIPTLINK%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20Microsoft%20does%20not%20want%20you%20to%20alter%20the%20Masterpage%2C%20so%20maybe%20incorporate%20it%20via%20SPFx%20if%20you%20are%20familiar%20with%20it%20(I'm%20just%20learning%20it%20now).%26nbsp%3B%20You%20could%20also%20put%20the%20.js%20file%20in%20Site%20Assets%20and%20reference%20it%20using%20the%20Script%20Editor%20Web%20Part%20or%20Content%20Editor%20Web%20Part%2C%20but%20then%20you%20would%20have%20to%20do%20this%20on%20every%20page%20you%20need%20the%20feature.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098594%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098594%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F112166%22%20target%3D%22_blank%22%3E%40Arielle%20Gerstein%3C%2FA%3E%20can%20you%20please%20help%20me%20with%20code%20for%20sticky%20headers%3F%20I'm%20looking%20for%20the%20same%20to%20use%20on%20SharePoint%20o365%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098987%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098987%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F504940%22%20target%3D%22_blank%22%3E%40Shrutika_S%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESticky%20headers%20happens%20automatically%20in%20modern%20lists%20on%20SharePoint%20O365.%20You%20don't%20need%20code%20to%20make%20it%20happen.%20Your%20lists%20must%20be%20in%20modern%20experience%2C%20so%20you%20won't%20see%20it%20on%20classic%20lists%20like%20task%20or%20calendars.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1375888%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1375888%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20original%20post%20was%20talking%20about%20freezing%20columns%2C%20not%20sure%20why%20everyone%20is%20talking%20about%20freezing%2Fsticky%20headers%20(header%20row).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20lists%20that%20span%20wider%20than%201%20screen%20width%20(especially%20when%20even%20small%20columns%20have%20a%20minimum%20width)%2C%20freezing%20columns%20is%20quite%20crucial.%20Any%20idea%20how%20I%20can%20achieve%20this%20in%20modern%20Sharepoint%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1382690%22%20slang%3D%22en-US%22%3ERe%3A%20Freeze%20columns%20in%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1382690%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F661538%22%20target%3D%22_blank%22%3E%40WenWong%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20no%20way%20to%20freeze%20columns.%20I%20have%20a%20longer%20post%20higher%20up%20in%20the%20thread%20on%20things%20you%20can%20do%20to%20minimize%20the%20amount%20of%20L-R%20scrolling.%20One%20of%20the%20benefits%20of%20modern%20UI%20is%20you%20no%20longer%20need%20to%20have%20EVERY%20field%20showing%20in%20the%20view.%20Leverage%20that%20to%20minimize%20horizontal%20scrolling.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

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 anyone is familiar with how to do this or has script to accomplish this task.

 

Thanks!

 

Arielle

17 Replies
Highlighted
You cannot freeze the first header of a large list, but sticky headers are coming to SPO lists
Highlighted

@Arielle Gerstein 

 

Try Sticky Headers.  I added the javascript into my Masterpage. http://spoodoo.com/stickyheaders-for-sharepoint-update-v3-2-0/

 

Highlighted

@Paul D. Fox Thanks! I currently have sticky headers for the top row but not the first column. Is the file available for download here? http://spoodoo.com/products/stickyheaders-for-sharepoint/

 

Nothing is showing up when I click on this page.

Highlighted
By the way, If your list is a modern list you are not going to be able to use it because it's not recommended / supported to modify SPO sites master pages
Highlighted

@Juan Carlos González Martín Thanks! The list is isn't modern - we are using sticky headers for rows already but haven't had luck deploying them for columns so far.

Highlighted
I'm going to answer your problem - which is that you have a wide and/or long list and users need to scroll L-R as well as up/down. The answer (again) is to use the modern UI because it will allow you to significantly limit the number of fields you have displayed in the view.

Because the modern UI let's you easily display ALL fields for an item in the details pane and bulk update multiple items at once, you no longer need to display every column in the list like you did in classic mode. I trim my default views down to only the fields needed to sort & filter the list.

https://support.office.com/en-us/article/View-and-edit-information-about-a-file-folder-or-link-in-a-...

As for the large number of items in your list, you should introduce your users to the smart filter button. You can pin fields to the filter button. Hit the button, select your filter terms and apply. Tah dah! much shorter list! :)

https://support.office.com/en-us/article/what-is-the-list-and-library-filters-pane-293561ed-fb2e-4fb...

Highlighted

@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?

Highlighted

@Shrutika_S  Try "Sticky Headers" from Spoodoo.com.  I've added it to the Masterpage so it shows up everywhere. http://spoodoo.com/downloads.

Highlighted

@Shrutika_S I've used sticky headers to freeze the first row in a list, couldn't make it work for the first column.

Highlighted

@Paul D. Fox will this JS code work for modern SharePoint page as script webpart is not available in it?

 

Highlighted
Spoiler
@Arielle Gerstein can you please help me with code for sticky headers? I'm looking for the same to use on SharePoint o365
Highlighted
@Arielle Gerstein can you please help me with code for sticky headers? I'm looking for the same to use on SharePoint o365
Highlighted

@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.

Highlighted
@Arielle Gerstein can you please help me with code for sticky headers? I'm looking for the same to use on SharePoint o365
Highlighted

@Shrutika_S 

 

Sticky headers happens automatically in modern lists on SharePoint O365. You don't need code to make it happen. Your lists must be in modern experience, so you won't see it on classic lists like task or calendars. 

Highlighted

The original post was talking about freezing columns, not sure why everyone is talking about freezing/sticky headers (header row).

 

For lists that span wider than 1 screen width (especially when even small columns have a minimum width), freezing columns is quite crucial. Any idea how I can achieve this in modern Sharepoint?

Highlighted

@WenWong 

 

There is no way to freeze columns. I have a longer post higher up in the thread on things you can do to minimize the amount of L-R scrolling. One of the benefits of modern UI is you no longer need to have EVERY field showing in the view. Leverage that to minimize horizontal scrolling.