Skip to content
Snippets Groups Projects
Commit 2f8b210c authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Show the excel export button first, as it's the preferred method

parent 1f50714f
No related branches found
No related tags found
No related merge requests found
......@@ -97,21 +97,21 @@ class DataTableView extends LitElement {
dom: (this.exportable ? '<"export-btn"B>' : '') + 'lfrtip',
buttons: [
{
extend: 'csvHtml5',
text: i18n.t('export-csv'),
extend: 'excelHtml5',
text: i18n.t('export-excel'),
title: this.exportName,
filename: this.exportName,
className: 'button is-small',
charset: 'UTF-8',
bom: true,
fieldSeparator: this.lang === 'en' ? ',' : ';'
},
{
extend: 'excelHtml5',
text: i18n.t('export-excel'),
extend: 'csvHtml5',
text: i18n.t('export-csv'),
title: this.exportName,
filename: this.exportName,
className: 'button is-small',
charset: 'UTF-8',
bom: true,
fieldSeparator: this.lang === 'en' ? ',' : ';'
},
{
extend: 'print',
......
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