Skip to content

Commit

Permalink
should fix #615 and #554, also addresses closed issues #274, #353, #385
Browse files Browse the repository at this point in the history
…, #426, #529, and #543
  • Loading branch information
EverettBerry committed May 14, 2022
1 parent a24a275 commit cd04c12
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions www/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,16 @@ function init_data_table() {
stateSave: true,
stateDuration: 0,

// Allow export to CSV
buttons: ['csv'],
// Allow export to CSV: only visible columns and only current filtered data
buttons: [{
extend: 'csv',
text: 'CSV',
exportOptions: {
modifier: { search: 'applied' },
columns: ':visible'
}
}],

});

g_data_table
Expand Down

0 comments on commit cd04c12

Please sign in to comment.