Export excel only specific columns.
Export excel only specific columns.

I am trying to export only some columns from my table to excel, but nothing works for me. The excel button disappears and I see some terrible error in the console.
Code:
https://pastebin.com/7amWn7uQ
What should I add so that only "address" and "shop name" are exported?
This discussion has been closed.
Answers
Nobody is going to help with that unless you explain what the error says.
Export column selector documentation is here:
https://datatables.net/extensions/buttons/examples/html5/columns.html
What is the error?
This example shows how to export certain columns.
If you still need help please post a link to your page or a running test case showing the issue.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin