Closed ackuikui closed 6 years ago
It would seem that in order to get a border on an entire merged cell you must set the border style on all of the cells that were merged. So, if you have merged cells B1-B5 you must set the style on B1, B2, B3, B4, and B5. The value of B2-B5 will be ignored but the border will still be applied.
@wolfgang42 That's great! cells within the merged area need to set.
there I have to fillworksheet['B2'] = { t: 'z', s: { border: {...} } };
while worksheet['B2'] is undefined when I use XLSX.utils.table_to_sheet()
or worksheet['!merges']= [{s: {r: 1, c: 1}, e: {r: 1, c: 3}}]
How can I set merged areas border?
there is in doc
I can set border with