Closed plainnany closed 6 years ago
hi, there is my dataSource , just Like
const dataSource = [{ name: 'John', age: 18, info: { work: 'programmer', location: 'China' } }, { name: 'Nany', age: 18, info: { work: 'programmer', location: 'USA' } }]
Is possible to export info.location ? I try to <ExcelColumn label="location" value="info.location"} />, but it doesn't work
<ExcelColumn label="location" value="info.location"} />
@plainnany please use <ExcelColumn label="location" value="(col) => col.info.location"} />
<ExcelColumn label="location" value="(col) => col.info.location"} />
I hope this will work, I'm closing this issue, feel free to re-open if you still have any related issues. :)
hi, there is my dataSource , just Like
Is possible to export info.location ? I try to
<ExcelColumn label="location" value="info.location"} />
, but it doesn't work