react-datatable icon indicating copy to clipboard operation
react-datatable copied to clipboard

Displaying nested Object Key

Open HavelEstrada opened this issue 3 years ago • 0 comments

How to Display nested Object Key in the datatable column? eg:

Data = [ { id:1, name: 'test', status:{ id: 1, value: 'active' } } ]

columns[ { text: 'Status', key: 'value' } ] By just putting the value as the key does not work because it's from a sub object. Can anyone help with that?

HavelEstrada avatar Sep 27 '22 13:09 HavelEstrada