I'm currently looking for a new job, preferably in the Asia-Pacific region but I would consider other regions as well. If you are hiring or have any leads, I would appreciate if you would drop me a message via the
contact form, e-mail (daniel(at)spoodoo.com),
Twitter, or
LinkedIn.
Daniel
Version | Changes |
---|
stickyHeaders_3.2.0.js
Size: 11.8 KiB
Downloads: 11548
Date: July 19, 2017 | - Fix: Fixed a bug where Sticky Headers are not working in Datasheet-view when the user has less than Edit-permission
- 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 - Improvement: Added some semicolons for a better minification performance
- Cosmetic fix: Corrected a typo
|
StickyHeaders_3.1.1.js
Size: 10.9 KiB
Downloads: 7001
Date: May 27, 2016 | - Fix: Sorting in quick edit mode when the list is scrolled down now works properly
- Fix: Strict mode will not cause an error with this script anymore
|
stickyHeaders_3.1.0.js
Size: 10.1 KiB
Downloads: 1141
Date: May 4, 2016 | - Fix: The header doesn't adjust to screen resizing
- Fix: The header suddenly disappears when scrolling through a grouped list
- Fix: Lists which have the Newsletter or Shaded style or are rendered on the server are not correctly displayed when sticky headers are displayed
- Improved: Some minor cosmetic issues
|
stickyHeaders_3.0.1.js
Size: 10.3 KiB
Downloads: 666
Date: April 22, 2016 | - Fix some speed problems with lists which have a large amount of columns
- Adopt semantic versioning scheme
|
stickyHeaders_3.0.js
Size: 9.8 KiB
Downloads: 994
Date: March 4, 2016 | - 2nd rewrite
- the sticky header now keeps its full functionality in quick edit mode
- greatly enhanced performance due to simplification of the code (reduced size by 3kb)
- better compatibility with SharePoint's administration lists
|
StickyHeaders_v2.9BETA.js
Size: 12.3 KiB
Downloads: 3389
Date: May 29, 2015 | - Script was completely rewritten
- 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
- Lists with fixed height are now supported
- Grouped list views are now supported
- Better general performance
- Better compatibility with all kinds of list views (custom and system)
- Small adjustments to the positioning of the sticky header
- 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: 3208
Date: June 11, 2014 | - removed reinitialization of sticky headers when clicking somewhere on the page or selecting an item right after page load
- fixed selectAll button not working (still a bit unreliable)
- fixed filter menu does not disappear on some occasions
|
StickyHeaders_v2.7.js
Size: 5.9 KiB
Downloads: 635
Date: May 20, 2014 | - 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: 571
Date: April 30, 2014 | -
improved compatibility with system lists
-
removed a deprecated function
-
removed a bug which can occur when grouping is activated
|
StickyHeaders_v2.5.js
Size: 5.1 KiB
Downloads: 561
Date: April 7, 2014 | - fixed a bug in IE where filter boxes appear at a wrong position
- fixed a bug that causes the script to stop working when you scroll immediately after switching into quick edit mode
- added an event listener which causes the script to reload when you toggle SharePoint's fullscreen mode
- a few general code improvements
|
StickyHeaders_v2.4.zip
Size: 3.0 KiB
Downloads: 386
Date: March 17, 2014 | - fixed a bug where where the script stops working when you switch from a listview into quickedit mode
- 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
- simplified parts of the code
|
StickyHeaders_v2.3.zip
Size: 3.1 KiB
Downloads: 289
Date: March 14, 2014 | - 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: 296
Date: March 13, 2014 | - fixed another bug that caused the header to be shifted to the right hand side
|
StickyHeaders_v2.1.zip
Size: 3.1 KiB
Downloads: 309
Date: March 7, 2014 | - 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: 64
Date: February 27, 2014 | - fixed a bug where the header does not disappear again
- added compatibility with quick edit mode
|
stickyheaders_v1.zip
Size: 1.8 KiB
Downloads: 413
Date: February 27, 2014 | - initial release
|
I can not get this to work in an office 365 environment. any suggestions?
Hi Pieter, it’s me again.
I have just signed up for an Office365 Trial and tried my script there.
section of the master page or into a Script Editor Web Part or Content Editor Web Part and you should be good to go:It works flawlessly in a vanilla SharePoint Online environment. Just paste this into the
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="http://path to the script/StickyHeaders_v2.5.js"></script>
Did not work! Waste of time! :(
This rocks!
Hi Pieter,
sadly I don’t have an Office 365 environment available to test it. So without further information (error message in the console, etc) I won’t be able to help you at the moment.
Is the script only using jquery to display the headers? I was looking to see where I could pull in a jquery theme….but I just found where you put the css.
Hi Mark,
the script isn't using any jQuery theme. The header you see is just a copy of the original that pops up when the original one gets out of view. To change the look of it you can change the content of the variable 'style'.
Daniel
In my case the filter doesn't work. Do you have any update on this ?
Hi Rahul,
sorry for the late reply. The filters don't work in quick edit mode and I haven't found a solution, yet.
Do they work in the normal list view?
Hi, this works great on my quick edit view. However, is it possible to expand the sticky header to show the first item too?? I have a quick edit view where the headings are days from a month (01 to 31). The first item always shows the weekdays (Monday to Sunday).
I was starting to create my own sticky headers and kept running into so many issues, mainly caused by my lack of experience with sharepoint and coding in general, Thank you so much for this!!!!!!!! it's working great and does what I need, except when I was cross browser testing it, I keep running into an issue with IE8 (unfortunately majority of people at my company are using it) and same issue with IE9. It keeps saying DeselectAllWPItems is not defined. It looks like you code is trying to set DeselectAllWPItems_old to this undefined value, right before you actually declare it.
var DeselectAllWPItems_old = DeselectAllWPItems;
DeselectAllWPItems = function () {
DeselectAllWPItems_old();
setTimeout(function () { ShowContextRibbonSections(); }, 25);
};
It works great with IE11, chrome, and firefox (atleast versions I've tested so far), just has this issue with IE8 that is stopping the script from working.
FYI, I've been trying it on both small lists and large 5000 item lists with similar results. When I comment out that section of code, the script will run and work, however it takes up to 5 minutes to load in IE8 and 9, and sometimes gives a little message box saying the page isn't responding due to a long running script. Again this is only with IE8 and 9, works fine with IE11, chrome, and firefox. But since most my users will be using IE8, do you have any idea how to make this script run faster, or if that part that it errors on is important to that?
Hi Daniel,
Is this project on GitHub, CodePlex etc. at all?
Hey, I am very new to SharePoint and they only give us the shell to work in and not the code behind it.
How can I use this code without getting to SharePoint designer? The most I can do is embed code on a page which is
located in the insert menu of Office 365. I am not sure where to place the .js file either. Any help or suggestions
would be greatly appreciated. Thanks
Hello
Great Script adding much needed value to the UI.
One Issue with the Beta though:
We're running jQuery in noconflict mode due to SP using the $ itself.
Any chance you could change the $ sign for jQuery for the next release?
Wouldn't make a big difference to the script but would run on any environment.
Cheers, Tim
Hi!
I have added the code to my master-page but nothing happens.
Where I have to copy it in exactly? Between head, script body?
br
Nic
This is fantastic. Thanks for sharing.
Hello Daniel,
Can I get the StickyHeader code for SharePoint 2010.
also when I run this Code in SharePoint2010 I get the below error
Message: 'g_spPreFetchKeys' is undefined.
Thanks in Advance :)
i have the same issue, any updates on this?
problem with horizontal scroll in large columns.header sticks and every thing goes wrong
Hi Daniel,
The filter and Sorting don't work properly in quick edit mode and they are working good in the normal list view.
Main Error in StickyHeaders_v2.9BETA.js version is Filter and sorting images are doesn't appear.
Do you have any update on this ?
Thank u,
Mani Kumar
where do i copy this code into?
Hi Aaron,
there are multiple ways to do that. You can copy it into a Script Editor Webpart or Content Editor Webpart on a specific page or you can reference it in the masterpage itself. See here for how to do it with a Script Editor Webpart: http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/05/20/how-to-use-script-editor-web-part-in-sharepoint-2013.aspx
Daniel
Is there anything in the browser that could be preventing this I have tried both internet explorer and chrome i added a content web part edited the snipet changed the destination to my site assents folder and link to jquery. I see no change before and after. Im wondering if my compnay has the browser secured some how.
Do we have code of sticky headers when sharepoint online list has new experience setting.
Unfortunately not. So far only the Classic Experience is supported.
Code is not working if list has new experience setting in sharepoint online.
is this code will work on SP2019