Hi, I am using Sheet JS to export JSON data as excel. I have successfully created an excel file, but I am unable to apply styles on the cell.
I have used:
// code-
ws[‘B2’].s= { alignment: {textRotation: 90 },font: {sz: 14, bold: true, color: ‘#FF00FF’ }, patternType: ‘solid’,fgColor: { theme: 8, tint: 0.3999755851924192, rgb: ‘9ED2E0’ },bgColor: {indexed: 64 }};
//
but it is not working.
Please help me, I am stuck on this.
-
This topic was modified 3 weeks, 6 days ago by chris.