Export PDF problems with columnspan cell
Export PDF problems with columnspan cell
m75sa
Posts: 132Questions: 30Answers: 0
Hi, i have my table that with the header divided in two column span cell: TITLE1 and TITLE2
When i try to export in pdf, what i see is the header and all <td> but no the column span cell...
This question has accepted answers - jump to:
Answers
You are using a very old version of DataTables. It was released in Feb 2012! It does not support colspan on export.
DataTables 2 with Buttons 3 does though. You can download it here.
Allan
thanks allan, can you help me with an example on the new version?
edited the jfiddle link:
https://jsfiddle.net/djzv5csb/2/
https://jsfiddle.net/20gt3L6u/
Neither your Javascript, nor HTML was valid which didn't help. but also the page was including MooTools which appears to have been causing an issue.
Allan
@m75sa
I think this example maybe helps.
https://live.datatables.net/kojunuce/15/edit