-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic correction of the table size #1183
Comments
Hi @TomFly74! Thanks for reporting this problem! What line number would that be in the Do you know Git well enough to provide a pull request? |
Hi @Mottie ! The line number in the file "widget-sticky Headers.js" is 268 (addition of code). No, I do not think it useful;) |
Oh, last thing. Would you set up a demo (modify this one), so I can test the change to make sure it is fixed? Thanks! |
without modification: With the modification |
Ok, thanks again for your help! The fix is currently only available in the master branch (in the |
A new release is now available! |
Hello !
sorry for my English :)
If using a dynamic table width, I suggest to add these following lines in the file "jquery.tablesorter.widgets.js" @lines: 2451 ( Widget: stickyHeaders - updated 3/1/2016 (v2.25.5) )
Code:
//resize row sticky Header Dynamical
$table.resize(function() {
resizeHeader();
});
if corrects the bug on "sticky header" who do not take all size table in case of dynamic expansion of the table such as the expansion of the table by a cursor (col-cursor) to the "div" that contains the table.
Here the bug picture:
Here the image of the correction "sticky header":
TomFly74
The text was updated successfully, but these errors were encountered: