You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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