Prevent hidden column from being exported to CSV file with csvHtml5

Prevent hidden column from being exported to CSV file with csvHtml5

stuartsjb-icrstuartsjb-icr Posts: 59Questions: 12Answers: 0

I've been trying to find a way of preventing a hidden column from being exported to a CSV file when using Buttons and csvHtml5.

So far I've got the column header hidden in the HTML, and have a class of 'never' for the column data in the DataTables initialisation, which works to prevent the column appearing in the browser, but it still gets exported to the CSV file.

Is there an extend option for csvHtml5 that I've yet to find that will prevent this?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.