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

Prevent column from first head row from sorting #1326

Closed
florianlinhardt opened this issue Nov 25, 2016 · 2 comments
Closed

Prevent column from first head row from sorting #1326

florianlinhardt opened this issue Nov 25, 2016 · 2 comments

Comments

@florianlinhardt
Copy link

Hi, I do have a tablesorter table with two rows in my head and would like to prevent sorting by clicking the columns in the first row. Help would be great! Thank you very much!

@Mottie
Copy link
Owner

Mottie commented Nov 25, 2016

Hi @flinhardt!

To disable the sort in a column, or specific header cell, add a class name of sorter-false (demo).

To completely disable a row, add a class name of tablesorter-ignoreRow to the tr. This class name is set by the cssIgnoreRow option.

And please, the next time you have a question, use one of the support methods listed in the main readme, instead of opening an issue. Thanks!

@florianlinhardt
Copy link
Author

Ok. Thanks for your help and sorry for opening posts in here.

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

No branches or pull requests

2 participants