onClick event notification in addition to column sorting. #2497
Unanswered
jzbuchalski
asked this question in
General
Replies: 1 comment
-
Actually, if you look at https://github.com/tannerlinsley/react-table/blob/master/src/plugin-hooks/useSortBy.js#L39 you see that
The problem I faced is that the return type of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Column sorting was simple enough to enable by adding getSortByToggleProps()
I would also like notification when the sorting (click event) occurs. If I add an onClick, this works, but breaks the default sorting:
Any ideas on getting notified of an onClick() while still retaining default sorting functionality? I could add a
Beta Was this translation helpful? Give feedback.
All reactions