Clear the currently sorted column #837
Unanswered
LoganMcnulty
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Everyone,
I'm wondering if there is a way to clear the sort completely from the table between certain renders.
For example, if the table is showing List 1, and then the user updates to show List 2, it's sorting List 2 on whichever sort they last used for List 1.
Additionally, if List 2 requires different columns than List 1, then the column that is now being sorted by is likely not even correct. Because the column sort uses Index and not field / column name.
I've tried setting the options.sorting features to false when fetching new data, and then back to true once new data (List 2) arrives. This doesn't fix the issue.
This would be a major enhancement imo.. right now i'm having to jump through hoops to keep the actual data in sync with what columns APPEARS to be being sorted by.
Thanks,
Logan
Beta Was this translation helpful? Give feedback.
All reactions