When revealing hidden columns in a data export via dataTables.buttons, column names do not display

When revealing hidden columns in a data export via dataTables.buttons, column names do not display

clhenrickclhenrick Posts: 5Questions: 1Answers: 0

Hi all,

The issue I'm having is that some of the columns are hidden from the user when the table loads, but when the user prints or exports the data via Excel, these columns are included but their headers are not. Has anyone run into this issue before? I'm unsure of how to include the names of headers from the hidden columns when the data is "printed" or exported to an Excel file.

I have a working example of my website here: http://radishlab.github.io/WCC002/

Here is a link to the js part of my code: https://gist.github.com/clhenrick/33a72ab2a6ff0a9ba011

Thanks in advance for any advice, I appreciate it.

  • Chris
This discussion has been closed.