-
I tried to put hook on the But, doing so, I lose the feature of the table to sort the rows by itself, and I don't want to lose it! I cannot either find a What am I missing? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Passing the |
Beta Was this translation helpful? Give feedback.
I understood your use case.
My solution at the moment is:
onSort
to store the current sorting, e.g. on the parent component (since you want to persist it during unmounts / remounts)lodash.orderby
to sort thedata
based on the current sorting stored on point 1I am missing something? Isn't this solution working as you expect?