How to get the set exportoptions columns
How to get the set exportoptions columns
![Jonvil123](https://secure.gravatar.com/avatar/79222d3e9944dc647d9f49523f138627/?default=https%3A%2F%2Fvanillicon.com%2F79222d3e9944dc647d9f49523f138627_200.png&rating=g&size=120)
Hi i have the buttons export for csv then i having like below sampl
Buttons: [ {extend: csv, exportoptions:{orthogonal: myexport, columns: [0,3,4,5,6,7]
I already get the header from buttons.html5.js using the data.header i got the header name.
Question is how can i get the columns fields. can i use data.fields? Using the exportoptions columns?
Thank u so much
This discussion has been closed.
Replies
Hi @Jonvil123 ,
I'm not quite following, sorry. When you say columns fields, do you mean the data? This example here may help.
Cheers,
Colin