When long text isn't displayed within a cell in ExcelJS
js
worksheet.getCell(`B${26 + responsiveItemLength}`).alignment = { vertical: 'top', wrapText: true, };Apply wrapText: true to that cell and the text won't run outside it.
If you also apply vertical: 'top', it is aligned to the top.
- #exceljs
- #long text
- #not displayed
- #cell area