data table export buttons
This commit is contained in:
parent
fa98fd7e58
commit
b5606b5ad0
@ -76,7 +76,17 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
var table = $('#scanResultsTable').DataTable({
|
var table = $('#scanResultsTable').DataTable({
|
||||||
buttons : ['copy', 'excel', 'pdf'],
|
layout: {
|
||||||
|
topStart: {
|
||||||
|
buttons: [
|
||||||
|
'copy', 'excel', 'pdf'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
topEnd: 'search',
|
||||||
|
bottomStart: 'pageLength',
|
||||||
|
bottomEnd: 'paging',
|
||||||
|
bottom2Start: 'info',
|
||||||
|
},
|
||||||
fixedHeader: true,
|
fixedHeader: true,
|
||||||
lengthMenu : [
|
lengthMenu : [
|
||||||
[256, 512, 1024, 2048, -1],
|
[256, 512, 1024, 2048, -1],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user