I need to read a excel sheet and after checking data from backend need to color row . I am able to read and create new sheet with new data but fill is not working here for a cell/row .
This is my code , I am using xlsx npm
let cell = workingSheet['C'+i];
console.log(cell)
workingSheet['A'+i].v = "PROCESSED"+i;
workingSheet['A'+i].s = { fill: { fgColor: { rgb: "#111111" } } };
console.log(
workingSheet['A'+i]
)
xlsx.writeFile(spreadsheet, `./sheets/output/mysheet.xls`);