Transform json format to table

this query

let arr1 = [formatDataAsArray(tablePriceSheetProduct.data)];

let arr2 = [tablePriceUploadFormatted.data];

var arr3 = arr1.map((item, i) => Object.assign({}, item, arr2[i]));

return arr3;

results in this

need this in a table format.

1 Like

Hello @nroeder,

You can try this

let newData = _.values(data)
return formatDataAsObject(newData)

We are using the Lodash library here

where data is pointing to the data at this point\