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

Treat headers with colspans as multiple ths #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ojplg
Copy link

@ojplg ojplg commented Feb 17, 2019

I am not sure if you are interested in this, but I forked your code to support a use case of mine. I have a header which spans multiple columns, and I want to sort by the first column of that span, and then have subsequent columns sort according to their headers.

This is quite a simple change, but perhaps not something you want. It's obviously up to you. It's a bit of a corner case.

I guess the diff blew up because I work under unix, and so the line endings all changed. Really, the patch is small.

Anyway, take it if you want it.

I like your library, by the way. Not as heavyweight as jQuery.

ojplg added 2 commits February 17, 2019 13:06
This allows columns that span multiple rows to correctly sort
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.

None yet

1 participant