Posted 7 July 2021, 11:09 am EST
What I am looking for is to extract data JSON objects like I want to get column values before I export/download this worksheet
we have this big serialized JSON but is there any way to extract pure JSON data for a column?
function exportSheet() {
const spread = _spread;
const fileName = 'SalesData.xlsx';
const excelIO = new Excel.IO();
const json = JSON.stringify(
spread.toJSON({
includeBindingSource: true,
columnHeadersAsFrozenRows: true
})
);
console.log(json);
excelIO.save(
json,
(blob) => {
saveAs(blob, fileName);
},
function(e) {
console.log(e);
}
);
}