What is modern analogue of mColumns?
What is modern analogue of mColumns?
gtament
Posts: 5Questions: 2Answers: 0
http://datatables.net/extensions/tabletools/button_options#mColumns
Looked there http://datatables.net/reference/option/#Buttons, but nothing useful found
Thanks in advance!)
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
That property is button specific, so it is documented with each button type that it applies to - for example see the
colvis
documentation (specifically thecolumns
option).Allan
You understood me wrong. I want to generate pdf based only on visible columns. And mColumns defined which columns should be used as the data source for the export, but it is deprecated now. So even if column is hidden, it will be in pdf
Found an answer.
exportOptions: { columns: ":visible" }
I understand now - thanks for the clarification. Yes, the
exportOptions.columns
option is the way to do this.Allan