title: Export (Print ,pdf ,excel ,copy) the selected columns in Angular Data Table
body: <p>This is my code to export the columns, </p>
  
  <pre><code>exportOptions: {
      columns: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,... ]
  }
  </code></pre>
  
  <p>I ve More than 20 columns and user can select only 5 columns in the front end( via colVis plugin).</p>
  
  <p>If the user select 5 columns that columns should be exported.How can i do this?</p>