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

wrong sort with colspan in TH #3

Open
Grajon opened this issue Jun 23, 2017 · 3 comments
Open

wrong sort with colspan in TH #3

Grajon opened this issue Jun 23, 2017 · 3 comments

Comments

@Grajon
Copy link

Grajon commented Jun 23, 2017

Hi,
if a colspan is used in a TH, a click on a column after the column with the colspan is wrong (i guess sorttable use the col-n column data with a colspan=n)

@Grajon
Copy link
Author

Grajon commented Jun 23, 2017

Hi again...
I have made a modification on sorttable.js to deal with colspan attribute in TH, in fact it was trivial, so if someone is interested by the modification, tell me here

I have made a save state also by using cookie or localstorage...

Good continuation to all

@Newbrict
Copy link

@Grajon How about a pull request?

@punkydie
Copy link

punkydie commented Jun 26, 2024

@Grajon How about a pull request?

but you can also add a non-visible th column for each colspan column, e.g. with display:none.

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

3 participants