exportOptions - columns
exportOptions - columns
user3770935
Posts: 10Questions: 4Answers: 0
I am using columns to list my included columns in export:
{
extend: 'excel',
text: 'Download Excel',
exportOptions: {
columns: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],
modifier: {
selected: true
}
}
}
Instead of listing all columns to include, can I instead specify the one column to exclude?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You could use a jQuery selector:
:not(:eq(9))
.Allan
Cheers Allan, perfect