added "size" column on download report in csv and excel

This commit is contained in:
franknstayn
2019-11-15 21:04:47 +08:00
parent 5d1248b1c7
commit f5b5026a2a

View File

@@ -662,7 +662,7 @@
{
extend: 'csv',
exportOptions: {
columns: [ 0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
columns: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
},
className : "btn btn-default",
text: "<i class=\"fa fa-table\"></i> CSV",
@@ -673,7 +673,7 @@
{
extend: 'excel',
exportOptions: {
columns: [ 0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
columns: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
},
className : "btn btn-default",
text: "<i class=\"fa fa-file-excel-o\"></i> Excel",