Skip to content

Creating onClick event in getTdProps or getTrProps overrides Expander functionality in reactTable #2793

Answered by riteshnahar
srenitha asked this question in Q&A
Discussion options

You must be logged in to vote

Change the method getTdProps to getTrProps. And remove e.stopPropagation(); from onRowClick method.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@srenitha
Comment options

Answer selected by srenitha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants