I am using the 'react-table' component https://react-table.js.org
I want to add on click event for one column (later I will open a modal showing info based on this event).
I am using the 'react-table' component https://react-table.js.org
I want to add on click event for one column (later I will open a modal showing info based on this event).
You add getTrProps to ReactTable like the example:
At the time of this writing, React-Table 6.8.0:
The value of 'column' in 'getTrProps' property is always undefined.
You'll have to use 'getTdProps' property instead.