Spoodoo.com

StickyHeaders for SharePoint

This is a mobile optimized version of this page, view original page.

This script will make every list’s header sticky. This means that it will stick to the bottom of SharePoint’s ribbon when it would otherwise disappear behind it. Keeping the header visible at all times can greatly enhance the usability, especially of large lists.

The script supports the normal list view, fixed height lists, list in quick edit mode, grouped lists, and all kinds of system lists like the list on the permissions page or site features page.

The sticky headers keep their full functionality so you can use them so sort, filter, etc.

Should you have any questions, problems or bug reports please head straight to the comment section below or to the Forum.

Related Blog Posts:
Sticky Headers in SharePoint 2013
(Updated) Sticky Headers for SharePoint 2013 – v2.0

Compatibility: SharePoint 2013 on-premises and SharePoint Online, SharePoint 2016 on-premises untested

Browser compatibility: All major browsers

Current Version: 3.2.0

Last Update 19th of July, 2017

Size: < 12kb (unminified)

Dependencies: jQuery

Notes: You will have to deactivate Minimal Download Strategy if you implement this script not via the masterpage.

Star

Go To Downloads

 

Here you can see the script in action in different situations:

 

Download and Changelog

VersionChanges
stickyHeaders_3.2.0.js
Size: 11.8 KiB
Downloads: 11556
Date: July 19, 2017
  1. Fix: Fixed a bug where Sticky Headers are not working in Datasheet-view when the user has less than Edit-permission
  2. New feature: Implemented a function that will load jQuery for you if it is not already loaded. No need to load jQuery via a separate script-tag any longer.
    NOTE: Uncomment line 23-29 and remove or comment out line 32-50 if you don't want this feature
  3. Improvement: Added some semicolons for a better minification performance
  4. Cosmetic fix: Corrected a typo
StickyHeaders_3.1.1.js
Size: 10.9 KiB
Downloads: 7008
Date: May 27, 2016
  1. Fix: Sorting in quick edit mode when the list is scrolled down now works properly
  2. Fix: Strict mode will not cause an error with this script anymore
stickyHeaders_3.1.0.js
Size: 10.1 KiB
Downloads: 1146
Date: May 4, 2016
  1. Fix: The header doesn't adjust to screen resizing
  2. Fix: The header suddenly disappears when scrolling through a grouped list
  3. Fix: Lists which have the Newsletter or Shaded style or are rendered on the server are not correctly displayed when sticky headers are displayed
  4. Improved: Some minor cosmetic issues
stickyHeaders_3.0.1.js
Size: 10.3 KiB
Downloads: 670
Date: April 22, 2016
  1. Fix some speed problems with lists which have a large amount of columns
  2. Adopt semantic versioning scheme
    stickyHeaders_3.0.js
    Size: 9.8 KiB
    Downloads: 999
    Date: March 4, 2016
    1. 2nd rewrite
    2. the sticky header now keeps its full functionality in quick edit mode
    3. greatly enhanced performance due to simplification of the code (reduced size by 3kb)
    4. better compatibility with SharePoint's administration lists
      StickyHeaders_v2.9BETA.js
      Size: 12.3 KiB
      Downloads: 3396
      Date: May 29, 2015
      1. Script was completely rewritten
      2. When there is only one list view webpart one a page and no other webpart, SharePoint will by default show the corresponding ribbon of this list. If you embed the script via a webpart you will usually break this behavior. The script now restores this intended behavior
      3. Lists with fixed height are now supported
      4. Grouped list views are now supported
      5. Better general performance
      6. Better compatibility with all kinds of list views (custom and system)
      7. Small adjustments to the positioning of the sticky header
      8. The boxes for filtering and sorting are now properly handed over to the sticky header and vice versa
        StickyHeaders_v2.8.js
        Size: 6.4 KiB
        Downloads: 3213
        Date: June 11, 2014
        1. removed reinitialization of sticky headers when clicking somewhere on the page or selecting an item right after page load
        2. fixed selectAll button not working (still a bit unreliable)
        3. fixed filter menu does not disappear on some occasions
        StickyHeaders_v2.7.js
        Size: 5.9 KiB
        Downloads: 639
        Date: May 20, 2014
        1. force SharePoint to show the Item- and List/Library-Tab in the Ribbon if there is only one list on the page (only necessary if the script is not loaded via the masterpage)
          StickyHeaders_v2.6.js
          Size: 5.1 KiB
          Downloads: 575
          Date: April 30, 2014
          1. improved compatibility with system lists
          2. removed a deprecated function
          3. removed a bug which can occur when grouping is activated
          StickyHeaders_v2.5.js
          Size: 5.1 KiB
          Downloads: 567
          Date: April 7, 2014
          1. fixed a bug in IE where filter boxes appear at a wrong position
          2. fixed a bug that causes the script to stop working when you scroll immediately after switching into quick edit mode
          3. added an event listener which causes the script to reload when you toggle SharePoint's fullscreen mode
          4. a few general code improvements
          StickyHeaders_v2.4.zip
          Size: 3.0 KiB
          Downloads: 389
          Date: March 17, 2014
          1. fixed a bug where where the script stops working when you switch from a listview into quickedit mode
          2. fixed a bug where the popout menu is cloned and won't disappear anymore when the sticky header fades in while the popout menu is open
          3. simplified parts of the code
            StickyHeaders_v2.3.zip
            Size: 3.1 KiB
            Downloads: 291
            Date: March 14, 2014
            1. fixed a bug introduced in the last version which caused the sticky headers to not scroll vertically anymore
            StickyHeaders_v2.2.zip
            Size: 3.2 KiB
            Downloads: 300
            Date: March 13, 2014
            1. fixed another bug that caused the header to be shifted to the right hand side
            StickyHeaders_v2.1.zip
            Size: 3.1 KiB
            Downloads: 312
            Date: March 7, 2014
            1. fixed a bug where the sticky header is in a wrong position after flipping through a paginated list
            StickyHeaders_v2.0.zip
            Size: 3.1 KiB
            Downloads: 65
            Date: February 27, 2014
            1. fixed a bug where the header does not disappear again
            2. added compatibility with quick edit mode
            stickyheaders_v1.zip
            Size: 1.8 KiB
            Downloads: 418
            Date: February 27, 2014
            1. initial release
            Exit mobile version