When the table in the detail of the table is exported as excel or pdf, the content deteriorates.
When the table in the detail of the table is exported as excel or pdf, the content deteriorates.
emeksc
Posts: 3Questions: 1Answers: 0
I wanted to export the table as pdf or excel. For this, I used the buttons of the datatable, but the table in the detail of the table line has been corrupted. How can I fix this situation?
This discussion has been closed.
Answers
Are you using Responsive or Child Row Details with hidden columns?
How do you want to change the output?
Can you provide a link to your page or a test case showing the issue so we can offer suggestions?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
http://live.datatables.net/jemoqoju/1/edit
test example like this.
The example isn't running. You need to add the Buttons code. You can use the Download Builder to generate the proper CDN.
Kevin
I added the button codes in js but it doesn't work
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin