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

Disable sorting to particular column also checkbox not working #9

Open
tanumoy88 opened this issue Jun 10, 2016 · 1 comment
Open

Comments

@tanumoy88
Copy link

tanumoy88 commented Jun 10, 2016

Hi,

Thank you for nice script. But I tried to stop sort on particular columns , which i not got any solution also if i added a checkbox in table header on scroll of particular section the check box functionality is not working. Default when section is not scrolled and also table header is not frozen that time checkbox functionality is working. Please help me out for this scenario.

@terrymun
Copy link
Owner

Your checkbox implementation might have to be reworked—if you're using an ID-based checkbox, you will need to change that. StickySort clones the <thead> element, so that will duplicate elements within it, and we know that duplicated IDs are a big no-no. Browser behaviour dealing with multiple instances of the same ID is undefined.

If you're binding any kind of event to the checkboxes in the table head, you might want to rely on event bubbling.

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

2 participants