Added columns to be ignored on export
This commit is contained in:
parent
e8310c8f3c
commit
945d910ca2
1 changed files with 2 additions and 1 deletions
|
@ -33,13 +33,14 @@ $('.snipe-table').bootstrapTable({
|
||||||
exportTypes: ['csv', 'excel', 'txt','json', 'xml'],
|
exportTypes: ['csv', 'excel', 'txt','json', 'xml'],
|
||||||
exportOptions: {
|
exportOptions: {
|
||||||
fileName: '{{ $exportFile . "-" }}' + (new Date()).toISOString().slice(0,10),
|
fileName: '{{ $exportFile . "-" }}' + (new Date()).toISOString().slice(0,10),
|
||||||
|
ignoreColumn: ['actions','change','checkbox']
|
||||||
},
|
},
|
||||||
maintainSelected: true,
|
maintainSelected: true,
|
||||||
paginationFirstText: "{{ trans('general.first') }}",
|
paginationFirstText: "{{ trans('general.first') }}",
|
||||||
paginationLastText: "{{ trans('general.last') }}",
|
paginationLastText: "{{ trans('general.last') }}",
|
||||||
paginationPreText: "{{ trans('general.previous') }}",
|
paginationPreText: "{{ trans('general.previous') }}",
|
||||||
paginationNextText: "{{ trans('general.next') }}",
|
paginationNextText: "{{ trans('general.next') }}",
|
||||||
pageList: ['10','25','50','100','150','200'],
|
pageList: ['10','25','50','100','150','200','500','1000'],
|
||||||
icons: {
|
icons: {
|
||||||
paginationSwitchDown: 'fa-caret-square-o-down',
|
paginationSwitchDown: 'fa-caret-square-o-down',
|
||||||
paginationSwitchUp: 'fa-caret-square-o-up',
|
paginationSwitchUp: 'fa-caret-square-o-up',
|
||||||
|
|
Loading…
Add table
Reference in a new issue