[react] How to set sorting based on a html select? #4853
Unanswered
marceloverdijk
asked this question in
Q&A
Replies: 1 comment
-
I got it working with:
|
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.
-
Having a react table like:
and a custom html select having the sorting options:
When the select changes I want to kick-in the table sorting based on the
data-sort-id
anddata-sort-order
(if omitted;asc
).I believe I have to call the
setSorting()
here , but how to do this?What do I need to pass?
Beta Was this translation helpful? Give feedback.
All reactions