I have to dynamically render some data into antD expandable table. The data is a nested object with various properties –
const values = [
[name = 'Josh', city = 'Sydney', pincode='10000'],
[name = 'Matthew', city = 'London', pincode = '20000'],
[name = 'Roger', city = 'Paris', pincode = '2300'],
]
How can I display this data in an antD table? The dataSource = {values} gives an empty table.
Kindly guide me. How to display nested array values in the antD table?