Forum Replies Created
-
AuthorPosts
-
Daniel
KeymasterHi Tom,
I still can’t reproduce this problem. Do you have any other custom styling or scripts on your page that might interfere with StickyHeaders?
Daniel
KeymasterHey Clayton, good find!
This issue has been resolved in v3.2.0
As you pointed out, there are two locations where the following selector was used: “tr:has(>th[class^=ms-vh]):visible”. In Datasheet view and when the user has less than Edit-permissions then the order of classes in some DOM elements seems to be different.
Changing both selectors to “tr:has(>th[class*=ms-vh]):visible” fixed the problem.
Daniel
KeymasterHi Rick,
Apologies for the late reply. I’ll look into this issue and release a new version if I can fix it. Thanks for reporting!Daniel
KeymasterHi Konrad,
Glad you like it. I’m working on a sticky-column script already but it will still take some time until it’s stable enough for a release. I’ll keep you posted!
Daniel
Daniel
KeymasterHi Devi,
are you sure you mean Content Query Webpart?
Here are two approaches:
Content Editor Webpart
1. First create a HTML file with the following content:
<script type=”text/javascript” src=”/path/to/stickyHeaders.js”></script> (adjust the path)2. Upload this file to SharePoint
3. Add a content Editor Webpart to your page and edit the webpart

4. Put the path to the HTML file into the Content Link field:

5. Apply the changes, save the page
Script Editor Webpart
1. Add a Script Editor Webpart to your page
2. Edit the Webpart and click the EDIT SNIPPET button
3. Add the script tag (adjust the path), click Insert and save the page

And please don’t forget to add jQuery to your page.
Daniel
Daniel
KeymasterHey Doug,
This issue should be fixed as of version 3.1.1. Please give it a try and let me know if the problem remains.
Daniel
KeymasterHi Doug,
Thanks for the report. I just digged through jsgrid.js (the file responsible for the rendering of Quick Edit mode) and indeed, some eventlisteners check whether the element the listener is attached to is visible or not. Since the header is not supposed to be visible the sort function won’t execute. I’ll try to find a workaround.
Daniel
-
AuthorPosts