Add style only a particular column #2258
Answered
by
martinschaer
klebercarvalho
asked this question in
General
-
I have a react-table where I need to add style only a particular column. Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
martinschaer
May 6, 2020
Replies: 2 comments 1 reply
-
I found the solution here: |
Beta Was this translation helpful? Give feedback.
0 replies
-
My solution is this: const columns = [{
Header: 'Column 1',
accessor: 'name',
Cell: x => (<div className='text-center'>{x.cell.value}</div>)
},
...
] |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
klebercarvalho
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My solution is this: