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

Only sorts the first tbody #31

Open
acdha opened this issue Oct 22, 2015 · 0 comments
Open

Only sorts the first tbody #31

acdha opened this issue Oct 22, 2015 · 0 comments

Comments

@acdha
Copy link

acdha commented Oct 22, 2015

The HTML spec allows a table to have multiple <tbody> tags (see e.g. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table) but sortable is hard-coded to only use the first one:

tBody = table.tBodies[0]

Example: https://jsfiddle.net/acdha/t09o6p3r/

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