-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Sticky headers with a fixed page header. #294
Comments
Hi @leenooks! It wouldn't be difficult to add a new |
Hi @Mottie I would say that it would be perfect if it was automatically determined. I dont know if you can figure that out, or do you need to query a css element to figure out it's height (and thus the required offset). There may be a need to set it manually as well (via a config item) - but not in my case :) If it is easy to do both, then why not? "auto mode" and "manual mode"... :) I'm happy to test it out once you have something before you release it with your next update... |
Hello @Mottie, First of all I would like to thanks for providing marvelous features like table sorter. In my case, since table has more than 20 columns table come up with horizontal scrollbar due to a container div. Expectation like :- Sticky header should stick with table and not go out side table div. Also time of horizontal scrolling harmonize with table. Please help me to handle the scenario . Looking forward to your solution. |
Hi @rgautam08! Please check out the I hope that answers your question. |
stickyHeaders_offset worked fine for me, thanks for the tip :) |
Hi, I'm just discovered this great library (and new to jquery generally), and am getting your library to do what I want, with 1 minor exception.
My webpage uses bootstrap, and my nav at the top is using navbar-fixed-top - resulting in the header banner staying when users scroll down the page.
If my page has a table, and I'm using your library to stick the header at the moment it is sticking behind my page navbar.
I couldnt figure out what setting I needed to make, so that:
(I was able to fix this by modifying the jquery.tablesorter.widget.js, around line 757, changing "top : 0" to "top : 57" (which is my required offset).)
(I was able to fix this by modifying the jquery.tablesorter.widget.js around line 843, modifying sTop to add 57 (which is my required offset).)
Both fixes are from commit version 5980d0e (which I got when I downloaded).
Ideally, this should be a config item or better still, it would be great if you can automatically figure out the required offset should be (and maybe the configure item might only require the class name that contains the position:fixed).
If there is a way of doing what I'm trying to achieve, then great - please let me know :)
The text was updated successfully, but these errors were encountered: