Replies: 1 comment
-
Ok i think i found it. I can just create a Cell method in the column object i am passing to useTable. |
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
-
Hello currently i am trying to add a delete button to my table that needs to dispatch an action using redux (i am showing values from an Api). However i could not find how to add my column to my correctly. My current useTable call looks like this:
But i dont know which value i need in the function that i pass to the Cell property of my Column. I need to get the id field from my model or i need some kind of index to call my dispatch with the correct id.
Beta Was this translation helpful? Give feedback.
All reactions