Export related change : GWM
This commit is contained in:
parent
cb9de30f6f
commit
635627ea96
@ -1713,7 +1713,20 @@
|
|||||||
table = $('#view_inward_gate_register').DataTable({
|
table = $('#view_inward_gate_register').DataTable({
|
||||||
dom: 'Blfrtip',
|
dom: 'Blfrtip',
|
||||||
buttons: [
|
buttons: [
|
||||||
'excel', 'pdf'
|
{
|
||||||
|
extend: 'excel',
|
||||||
|
text: 'Excel',
|
||||||
|
exportOptions: {
|
||||||
|
columns: ':not(:last-child)' // Exclude the last column
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
extend: 'pdf',
|
||||||
|
text: 'PDF',
|
||||||
|
exportOptions: {
|
||||||
|
columns: ':not(:last-child)' // Exclude the last column
|
||||||
|
}
|
||||||
|
}
|
||||||
],
|
],
|
||||||
pageLength: 10,
|
pageLength: 10,
|
||||||
lengthMenu: [
|
lengthMenu: [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user