How to get the set exportoptions columns

How to get the set exportoptions columns

Jonvil123Jonvil123 Posts: 34Questions: 0Answers: 0

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 :smiley:

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    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

This discussion has been closed.