Export related change : GWM

This commit is contained in:
Gowtham M 2024-12-17 10:14:13 +05:30
parent cb9de30f6f
commit 635627ea96

View File

@ -1713,7 +1713,20 @@
table = $('#view_inward_gate_register').DataTable({
dom: 'Blfrtip',
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,
lengthMenu: [