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

Modified stickyHeaderWidget for better performance. #1164

Merged
merged 1 commit into from
Feb 24, 2016

Conversation

Drumstickx
Copy link
Contributor

I just noticed that the checkSizes function is called before the disabled check which leads to an unnecessary performance loss as the data isn't required when disabling the table.

Don't call the checkSizes function anymore on disabling the sticky Header via addHeaderResizeEvent(table, true);

It was an unneccesary performance loss as the gained data wasn't used afterwards.
Mottie added a commit that referenced this pull request Feb 24, 2016
Modified stickyHeaderWidget for better performance.
@Mottie Mottie merged commit 777e547 into Mottie:master Feb 24, 2016
@Mottie
Copy link
Owner

Mottie commented Feb 24, 2016

Thanks again!

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

Successfully merging this pull request may close these issues.

2 participants