mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-01 04:49:36 +00:00
Merge 35262a25f1 into 1650ade338
This commit is contained in:
commit
b5d84cf109
1 changed files with 16 additions and 6 deletions
|
|
@ -130,12 +130,22 @@ export default class extends Controller {
|
|||
header: $(window).width() >= 768, //Only enable fixedHeaders on devices with big screen. Fixes scrolling issues on smartphones.
|
||||
headerOffset: $("#navbar").outerHeight()
|
||||
},
|
||||
buttons: [{
|
||||
"extend": 'colvis',
|
||||
'className': 'mr-2 btn-outline-secondary',
|
||||
'columns': ':not(.no-colvis)',
|
||||
"text": "<i class='fa fa-cog'></i>"
|
||||
}],
|
||||
buttons: [
|
||||
{
|
||||
"extend": 'colvis',
|
||||
'className': 'mr-2 btn-outline-secondary',
|
||||
'columns': ':not(.no-colvis)',
|
||||
"text": "<i class='fa fa-cog'></i>"
|
||||
},
|
||||
{
|
||||
text: 'CSV',
|
||||
action: $.fn.initDataTables.exportBtnAction('csv', settings),
|
||||
},
|
||||
{
|
||||
text: 'Excel',
|
||||
action: $.fn.initDataTables.exportBtnAction('excel', settings),
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
rowCallback: this._rowCallback.bind(this),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue