Skip to content
Snippets Groups Projects
Commit 5ec24105 authored by Carlos Vega's avatar Carlos Vega
Browse files

Issue #291 export only visible columns

parent 18b4b6e8
No related branches found
No related tags found
1 merge request!200Improvement/pdp import data and button to export subjects table to excel
......@@ -392,6 +392,7 @@ function createTable(params) {
buttons: [
{ extend: 'excel',
exportOptions: {
columns: ':visible',
modifier: { page: 'all', search: 'applied', order: 'applied' }
},
text: `<span class='excel-export-button'><i class="fa fa-file-excel-o" aria-hidden="true"></i> Export selection to excel</span>`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment