Skip to content
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

footer does not scroll horizontally #28

Open
qhelix7 opened this issue Jan 3, 2012 · 0 comments
Open

footer does not scroll horizontally #28

qhelix7 opened this issue Jan 3, 2012 · 0 comments

Comments

@qhelix7
Copy link

qhelix7 commented Jan 3, 2012

For tables that require horizontal scrollbars, the footer does not scroll with the body (unless it is cloned from the header). The _bindScroll function just needs to check for a footer as well as a cloned footer:

if (settings.cloneHeadToFoot) { ...

needs to be changed to:

if (settings.footer || settings.cloneHeadToFoot) { ...

For consistency, you may want to check explicitely for boolean values -- like this line near the end of _setupFixedColumn:

if (settings.footer == true || settings.cloneHeadToFoot == true) { ...

Thanks for the good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant