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

Add colspan support to tablesorter #8

Merged
merged 2 commits into from Sep 26, 2012

Conversation

Projects
None yet
2 participants
@zeehio
Copy link
Contributor

zeehio commented Sep 26, 2012

I added colspan support to your tablesorter version.

Given a table like this:

Colour NameColour Components
RedGreenBlue
Pure RedFF0000
Pure Green00FF00
Pure Blue0000FF
OrangeFFA500

It will work as expected by clicking on "Colour Name" and "Red", "Green", "Blue".
Clicking on "Colour Components" will sort by "Red", then "Green" and finally "Blue".

Consider including this pull request if you want.

Part of the implementation is from stackoverflow. I extended it and I programmed the detectColspan function.

jbritten added a commit that referenced this pull request Sep 26, 2012

Merge pull request #8 from zeehio/master
Add colspan support to tablesorter

@jbritten jbritten merged commit f67a57c into jbritten:master Sep 26, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment