-
Notifications
You must be signed in to change notification settings - Fork 49
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
Is there a way to RESET sorting to original order? #70
Comments
Not at the moment, but it's a fun idea. Let me think on it, maybe it's doable 🤔 |
That would be great. I was thinking that the original sort would need to be captured so that it could be restored to that "state" with the click of a button. |
I found a decently not-messy workaround. I created a new hidden 1st column called "default sort" which injects an integer, starting at 0 as table data, say 0-5. Then I used your method for Sort onLoad to bind the reset button and execute sorting based on the integers. |
Cool. Could you show me? |
Hello, props for the lib. 👍 |
@leon-h-a You are more than welcome! |
Hey there. Love the script. I'm curious, is there a built-in way to reset the table sort to loading order? Thinking of a reset button that re-sorts to the original state.
The text was updated successfully, but these errors were encountered: