-
Notifications
You must be signed in to change notification settings - Fork 753
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
Column to have asc/reset sort direction, rest colums asc/desc/reset direction #1137
Comments
Hi @Murmur! Set a |
Sort of works. I was trying to have double-arrow,down-arrow,double-arrow state changes. Using a lockedOrder prop it goes double-arrow,down-arrow,(sticked to desc). I cannot reset an ordering anymore. Tried giving multiple values of allowed sorting state but failed. Same applies to "asc" value.
|
Ok, try this instead (demo) $(function() {
$('table').tablesorter({
theme: 'blue',
initialized: function(table){
table.config.sortVars[0].order = [ 1,2 ];
}
});
}); |
That was a hidden secret. I do see a weird side effect if |
Yeah, I'm not sure how to fix that... when |
I have one column where SortByASC or Reset(nosort) are only sane options, DESC is not required. Remaining columns may use Asc/Desc/Reset options. I could not find attributes to do it. Possible?
The text was updated successfully, but these errors were encountered: