merging cells in exported excel (dataTable buttons plugin)

merging cells in exported excel (dataTable buttons plugin)

rickshinovarickshinova Posts: 2Questions: 1Answers: 1

Link to test case: https://codepen.io/rickshinova/pen/XWdWeoY
Description of problem: Hi everyone! I am trying to export datatables to excel with necessary formatting (merged cells, custom background...). The problem is that if table has a lot of columns, then merging (custom written function to merge cells) does not work even though it works perfectly with less columns.
Maybe anyone is more familiar with this library and can give an advice on why larger amount of columns results in worse formatting (maybe 'customize' function has any limitations?)
Link to codepen is attached.
Thank you in advance!

This question has an accepted answers - jump to answer

Answers

  • rickshinovarickshinova Posts: 2Questions: 1Answers: 1
    Answer ✓

    The problem was in the spreadsheet viewer.
    WPS office loses formatting, but MS Excel shows everything perfectly.
    Sorry for bothering!
    Have a nice day!

  • allanallan Posts: 63,213Questions: 1Answers: 10,415 Site admin

    Thanks for posting back. Good to hear you've got it working.

    Allan

This discussion has been closed.